Post #4317120
2026-07-15 03:02 UTC
@JamesWidman@mastodon.social
The weird thing i saw about p4 is the developers were like we like our bison/flex parser/lexer. As someone wrote their parser and lexer for p4 I was super confused why they like it. The lexing nor the parsing part was the big issue with p4 but rather the semantics were not always fully defined. Especially their type matching for function calls. They left it up for implemented defined there. Especially with generics being included. It was fun to implement and get similar semantics and even prove the semantics and implementations dont line up.
Replies (0)
No replies.