Skip to content

oxidecomputer/tree-sitter-p4

Repository files navigation

tree-sitter-p4: P4 grammar for tree-sitter

P4 grammar for tree-sitter.

Setup

To build the parser, you need to have tree-sitter installed. You can install it using most OS package managers, from source, or through npm:

npm install tree-sitter-cli

or with cargo:

cargo install tree-sitter-cli

Contributing

This project is still in its early stages, so there are many things that can be improved, as we aim toward capturing more of the P4_16 specification.

To contribute, just open a pull request!

About

P4 grammar for tree-sitter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published