[P4-design] Diagram of where P4_16 language constructs can be used

Andy Fingerhut (jafinger) jafinger at cisco.com
Sun Apr 2 16:52:59 EDT 2017


It isn’t complete, e.g. I haven’t included where parser/control/extern instantiations and method calls can go, and it doesn’t mention enum, tuple, and a few other type definitions, but it does meet my original goal of showing where most of the language constructs can be used in a P4_16 program relative to each other.

https://github.com/jafingerhut/p4-guide/blob/master/p4-16-allowed-constructs.pdf
https://github.com/jafingerhut/p4-guide/blob/master/p4-16-allowed-constructs.png

GraphViz dot input file used to generate the figures here:

https://github.com/jafingerhut/p4-guide/blob/master/p4-16-allowed-constructs.dot

Andy

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p4.org/pipermail/p4-design_lists.p4.org/attachments/20170402/8115f3cb/attachment-0002.html>


More information about the P4-design mailing list