P4 compiler for the behavioral model
C Python C++ Objective-C Thrift Makefile
Latest commit ec9c863 Aug 30, 2016 @srikrishnagopu srikrishnagopu committed on GitHub Merge pull request #38 from p4lang/mirroring_api_sync
synch mirroring api across models

README.md

p4c-behavioral

P4 compiler for the behavioral model (BM) target

Pre-requisites:
Install p4-hlir (https://github.com/p4lang/p4-hlir)

To install:
sudo python setup.py install

To run:
p4c-behavioral <path_to_p4_program> --gen-dir <dir_for_generated_files> [--thrift]

For more info:
p4c-behavioral --help

p4c-bm is an alias for p4c-behavioral