[P4-dev] Article on P4 code generation

Andy Fingerhut andy.fingerhut at gmail.com
Thu Feb 6 22:09:59 EST 2020


A few times people have asked questions on this list, where a suggestion
was given to use another small program to generate P4 code, then compile
that.

Some may view this as working around limitations in the language.  In some
cases, I simply see it as "getting the job at hand done".

The code examples in the article were ones that arose in this email list,
so nothing new if you have been following along for a couple of years, but
perhaps having the article in its somewhat more fleshed-out form like this
can be useful to provide a link for interested parties to read, when the
topic arises:

https://github.com/jafingerhut/p4-guide/tree/master/code-generation

Comments, questions, corrections all welcome.

Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p4.org/pipermail/p4-dev_lists.p4.org/attachments/20200206/4b512ee1/attachment.html>


More information about the P4-dev mailing list