cornell-netlab / p4pp

P4 Preprocessor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

P4PP

p4pp is a standards-compliant preprocessor for the P4 Language language.

Installing from source

  1. Check the installed version of OCaml:

    ocamlc -v
    

    If the version is less than 4.09.1, upgrade:

    opam switch 4.09.1
    
  2. Use OPAM to build and install p4pp.

    opam pin add p4pp <path to root of p4pp repo>
    

Running p4pp

TODO

Contributing

p4pp is an open-source project. We encourage contributions! Please file issues on Github.

Credits

p4pp was written by Nate Foster.

License

p4pp is released under the Apache2 License.

About

P4 Preprocessor

License:Apache License 2.0


Languages

Language:OCaml 97.6%Language:Makefile 2.4%