Skip to content

Scheremo/tree-sitter-systemverilog

 
 

Repository files navigation

CI

tree-sitter-systemverilog

Full SystemVerilog IEEE 1800-2023 grammar for tree-sitter.

Differences with tree-sitter-verilog

Pros

  • Full implementation of the latest SystemVerilog standard (IEEE 1800-2023)
  • Robust and reliable: sv-tests results
  • Actively maintained
  • Thoroughly tested (~2000 tests, including the whole UVM 2.0 and some open source projects)
  • Implements node fields
  • Supports parsing of code snippets (e.g., always block outside of a module)
  • Basic preprocessing capabilities
  • Currently used on Emacs verilog-ts-mode and nvim systemverilog plugin

Cons

  • Generated parser is double the size
    • Generation of the compiled grammar takes longer (this only needs to be done once)

References

About

Rewrite of tree-sitter-verilog

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • SystemVerilog 75.0%
  • HTML 17.2%
  • JavaScript 3.8%
  • C 1.4%
  • Verilog 1.2%
  • Stata 0.8%
  • Other 0.6%