p4pp is a standards-compliant preprocessor for the P4 Language language.
-
Check the installed version of OCaml:
ocamlc -v
If the version is less than 4.09.1, upgrade:
opam switch 4.09.1
-
Use OPAM to build and install p4pp.
opam pin add p4pp <path to root of p4pp repo>
TODO
p4pp is an open-source project. We encourage contributions! Please file issues on Github.
p4pp was written by Nate Foster.
p4pp is released under the Apache2 License.