Skip to content

prona-p4-learning-platform/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 or website provided.

Topics

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

Languages

  • JavaScript 87.1%
  • TypeScript 7.9%
  • ANTLR 2.8%
  • P4 2.2%