tree-sitter-systemverilog

Crates.iotree-sitter-systemverilog
lib.rstree-sitter-systemverilog
version0.2.1
created_at2025-06-27 08:11:37.631118+00
updated_at2025-07-20 15:56:51.471082+00
descriptionSystemVerilog 1800-2023 Parser
homepage
repositoryhttps://github.com/gmlarumbe/tree-sitter-systemverilog
max_upload_size
id1728315
size57,307,413
Gonzalo Larumbe (gmlarumbe)

documentation

README

CI CI-Bindings

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

Commit count: 0

cargo fmt