/tree-sitter-p4

tree-sitter grammar for the p4 programming language.

Primary LanguageJavaScript

Build the Parser:

  • tree-sitter generate
  • install node-gyp

Build for NodeJS:

  • node-gyp configure
  • node-gyp build

Build for electron:

You can use the build.sh script in this directory. Make sure your VSCode electron version matches the target parameter.