Andrew Pinski
Andrew Pinski
Here is another testcase which I would assume would get an error message on too: ``` match_kind { t, b } const match_kind t = t; ``` Or at least...
> This is an interesting one. I could argue that we have to modify the spec to handle this case elegantly. I don't think we actually want the match_kind identifiers...
I should note I am creating my own parser and AST for P4-16 language and cross-checking with the reference compiler which is how I am finding all of the reference...
So it looks like I was wrong about _ types. See 7.2.13 Don't care types but I am still not 100% understand the semantics here. The example given in Section...
> @apinski-cavium Do you mean that Section 7.2.13, and/or Section 17.1, were different in earlier versions of the spec that had a different explanation/example of _ types? I did a...
+1 for me. I might have HW which supports having these log messages out somewhere so it might be useful to mention that like assert it can be turned into...
This is more question of how `{}` are handled, and about the formatting part. Does `{0}` says the first element of the tuple or is it just `{}`. How does...
https://p4.org/p4-spec/docs/P4-16-working-spec.html#sec-packet-data-extraction ``` The packet_in extern is special: it cannot be instantiated by the user explicitly. Instead, the architecture supplies a separate instance for each packet_in argument to a parser instantiation....
Just FYI. I noticed that add_entry can only be called from default_action. If I read this correctly, implicitly this mean no entry in the table can use this specific action...