Skip to main content

Tree-sitter-vhdl

CI Fuzz matrix pypi

A VHDL parser for syntax highlighting.

References

Screenshots

Neovim, using nvim-treesitter and a Catppuccin colour scheme:

Screenshot

Other colour schemes

Neovim, using nvim-treesitter and a Tokyo Night colour scheme:

TokyoNight

Neovim, using nvim-treesitter and a One Dark colour scheme:

OneDark

If you'd like your favourite colour scheme to be listed here, issue a PR with a new screenshot of the screenshot example in the same style and composition as the other screenshots.

History

This version started off as a fork of alemuller/tree-sitter-vhdl, but ended up as a complete rewrite of the parser and highlighting scripts. It has very little in common with the original.

Limitations

This parser uses a simplified grammar, because the full formal grammar in the VHDL standard is highly ambiguous without compiling the entire code-base into a symbol table. In many cases, invalid syntax will parse into a valid tree.

For the same reason, there might be cases where valid syntax does not map to a valid tree. In this case, please log a bug report.

In addition, the following features are not implemented, and are considered outside the scope of this project.

  • IEEE Property Specification Language
  • VHDL Procedural Interface

Neovim Setup Process

This parser has been merged into the official nvim-treesitter, so it should work out of the box after adding it to the list of languages to install.

You can also use tree-sitter-manager instead, in which case it is recommended to configure as follows:

require("tree-sitter-manager").setup({
    ensure_installed = {
        -- ...
        'vhdl',
        -- ...
    },
    languages = {
        vhdl = {
            install_info = {
                url      = 'https://github.com/jpt13653903/tree-sitter-vhdl',
                revision = 'master',
                queries  = 'queries/Neovim',
                use_repo_queries = true,
            },
        },
    },
})

Helix Setup Process

This parser has been merged into the official Helix repo, so it should work out of the box.

Building

  • Follow the instructions here to setup your development environment.
  • Run npm install --save-dev tree-sitter-cli
  • Add node_modules/.bin to your environment path
  • From within the autogen directory, run py gen_token_trie.py (only required after updating the token lists within autogen)
  • Run tree-sitter generate
  • Run tree-sitter test

Contributing

Contributions are welcome. Read Contributing.md for more information.

Metadata

Release files for tree-sitter-vhdl 2.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tree-sitter-vhdl 2.1.0
File Size Uploaded Provenance Actions
tree_sitter_vhdl-2.1.0.tar.gz 424.9 kB Without provenance Details for tree_sitter_vhdl-2.1.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for tree-sitter-vhdl 2.1.0
File Actions
tree_sitter_vhdl-2.1.0-cp310-abi3-win_arm64.whl CPython 3.10 abi3 Windows ARM64 Details for tree_sitter_vhdl-2.1.0-cp310-abi3-win_arm64.whl
tree_sitter_vhdl-2.1.0-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for tree_sitter_vhdl-2.1.0-cp310-abi3-win_amd64.whl
tree_sitter_vhdl-2.1.0-cp310-abi3-musllinux_1_2_x86_64.whl CPython 3.10 abi3 Linux musl 1.2+ x86-64 Details for tree_sitter_vhdl-2.1.0-cp310-abi3-musllinux_1_2_x86_64.whl
tree_sitter_vhdl-2.1.0-cp310-abi3-musllinux_1_2_aarch64.whl CPython 3.10 abi3 Linux musl 1.2+ ARM64 Details for tree_sitter_vhdl-2.1.0-cp310-abi3-musllinux_1_2_aarch64.whl
tree_sitter_vhdl-2.1.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl CPython 3.10 abi3 Linux glibc 2.17+ ARM64, Linux glibc 2.28+ ARM64 Details for tree_sitter_vhdl-2.1.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
tree_sitter_vhdl-2.1.0-cp310-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl CPython 3.10 abi3 Linux glibc 2.5+ x86-64, Linux glibc 2.28+ x86-64 Details for tree_sitter_vhdl-2.1.0-cp310-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
tree_sitter_vhdl-2.1.0-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details for tree_sitter_vhdl-2.1.0-cp310-abi3-macosx_11_0_arm64.whl
tree_sitter_vhdl-2.1.0-cp310-abi3-macosx_10_9_x86_64.whl CPython 3.10 abi3 macOS 10.9+ x86-64 Details for tree_sitter_vhdl-2.1.0-cp310-abi3-macosx_10_9_x86_64.whl

Total release size: 3.1 MB

Release files / tree_sitter_vhdl-2.1.0.tar.gz

Download URL tree_sitter_vhdl-2.1.0.tar.gz
Size 424.9 kB
Tags Source
SHA-256 checksum
How to use checksums
20a4bf223ff31716ff9cb96103f357c6c4ac65136404f9d1fb72c9327ad191c5
BLAKE2b-256 checksum
How to use checksums
063177df85618d745fc9bead44e864ef415838f5f42ac981ad7cd8b08d5ba129
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / tree_sitter_vhdl-2.1.0-cp310-abi3-win_arm64.whl

Download URL tree_sitter_vhdl-2.1.0-cp310-abi3-win_arm64.whl
Size 209.8 kB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
82ead7189379a3e43c0b2b4549f464a6bfd655d37161f851e491ec14303b0926
BLAKE2b-256 checksum
How to use checksums
000cb264e42baff74a920e4506b51ec3b10558ce16e878e717eb6bc43184b831
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / tree_sitter_vhdl-2.1.0-cp310-abi3-win_amd64.whl

Download URL tree_sitter_vhdl-2.1.0-cp310-abi3-win_amd64.whl
Size 208.5 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
059345d853b68f6a01b73f7d6b48e7c2a6c2985b3c9f5ea1f7431f5fc5286f70
BLAKE2b-256 checksum
How to use checksums
c411ea149a663be205dc6f381a119f00fb5c788423f27314fb724535fdf16cde
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / tree_sitter_vhdl-2.1.0-cp310-abi3-musllinux_1_2_x86_64.whl

Download URL tree_sitter_vhdl-2.1.0-cp310-abi3-musllinux_1_2_x86_64.whl
Size 441.1 kB
Tags CPython 3.10 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
3aeada6b5f99ad5db79567690ad0b1625c6b557ca59f4a098ee5385e8b6184ef
BLAKE2b-256 checksum
How to use checksums
de3de1adf6b2db0b8d2c8ce0068f70be021a0d4d66660178b133c0d69c77e819
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / tree_sitter_vhdl-2.1.0-cp310-abi3-musllinux_1_2_aarch64.whl

Download URL tree_sitter_vhdl-2.1.0-cp310-abi3-musllinux_1_2_aarch64.whl
Size 459.1 kB
Tags CPython 3.10 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
16c93e823cce5f6c38cb09ab34b2c8c3b2b1aa628c333a84588bb37894006052
BLAKE2b-256 checksum
How to use checksums
98435762dc6f5c1cb7fac0556d381ac1d353f30fb217c7da625f7c744bd12c5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / tree_sitter_vhdl-2.1.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl

Download URL tree_sitter_vhdl-2.1.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Size 461.2 kB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
421e4e2e660674bf674976eea88ccd3cbd7c37cd3a2a7b3e020a07fe846c9783
BLAKE2b-256 checksum
How to use checksums
3619d44cf6a12f4c4ac27fd9874c06c2825fcc6465f49ffc03a59ed8cc7ec85d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / tree_sitter_vhdl-2.1.0-cp310-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl

Download URL tree_sitter_vhdl-2.1.0-cp310-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Size 442.9 kB
Tags CPython 3.10 Linux glibc 2.28+ x86-64 Linux glibc 2.5+ x86-64 abi3
SHA-256 checksum
How to use checksums
06fe892203a7c796840b3bed550e6dd40d612d716a63dd117d449a98fe0be271
BLAKE2b-256 checksum
How to use checksums
c9f0ba79dffe2cdeb203c331c1f1347968076f70cadd2d8f6140e0a46374d174
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / tree_sitter_vhdl-2.1.0-cp310-abi3-macosx_11_0_arm64.whl

Download URL tree_sitter_vhdl-2.1.0-cp310-abi3-macosx_11_0_arm64.whl
Size 226.1 kB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
b77a3eb8139a4b536b2f1ade3e3f1585f4b6dfee10abf0177b1b041cd8ea7f1e
BLAKE2b-256 checksum
How to use checksums
df13fe0497830adf2576769de80663ece2b6d7aff758a2ca8e36003878259c81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / tree_sitter_vhdl-2.1.0-cp310-abi3-macosx_10_9_x86_64.whl

Download URL tree_sitter_vhdl-2.1.0-cp310-abi3-macosx_10_9_x86_64.whl
Size 212.4 kB
Tags CPython 3.10 abi3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
05b531b9cf04aa61ba2d461e28b1810cdbc8b8aaa66f0b0e00f28f348ced75b2
BLAKE2b-256 checksum
How to use checksums
eddd298527f7c42672fee56634f50eaa88522f807abc2c6a4ca9372b811759b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for tree-sitter-vhdl 2.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page