This repo contains the Visual Studio P4_16 Extension.
- Syntax checker,
- Syntax Highlighting,
- Autocompletion for headers and input parameters,
- Support of remote compiler for showing an extended list of errors (with user authentication for access control),
- Snippet for basic code structures, like tables.
-
Antlr (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing or translating structured text or binary files. To this end, the referenced lex/yacc P4 grammars (links to: lexer and parser) have been transferred to Antlr4 syntax in grammar folder.
-
vscode-p4 "the most basic syntax colorizer" and the same code is used in this project for syntax highlighting.
Apache-2.0