Skip to content

fattaholmanan/p4-vscode-extension

P4 VSCode Extension

This repo contains the Visual Studio P4_16 Extension.

Features

  • 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.

Open source projects used in this extension

  • 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.

License

Apache-2.0

About

No description, website, or topics provided.

Resources

License

Apache-2.0, Apache-2.0 licenses found

Licenses found

Apache-2.0
LICENSE
Apache-2.0
LICENSE.md

Stars

Watchers

Forks

Packages

No packages published