Github Actions expressions grammar for tree-sitter
Project description
tree-sitter-gh-actions-expressions
Tree-sitter grammar for Github Actions expressions
Parser requirements
gitignore(optional): forhashFiles()functionjson(optional): forfromJSON()functionyaml: injection to itsblock_mapping_pairnode
Usage in Editors
Neovim
Requirements
- nvim-treesitter
- Node.js (if ABI not compatible)
- tree-sitter cli (if ABI not compatible)
Installation
-
Add the following to your
nvim-treesitterconfiguration:local parser_config = require("nvim-treesitter.parsers").get_parser_configs() -- NOTE: add the parser to `parser_config` before calling `setup()` parser_config.gh_actions_expressions = { install_info = { url = 'https://github.com/Hdoc1509/tree-sitter-gh-actions-expressions', files = { "src/parser.c" }, branch = 'release', -- if ABI version from neovim doesn't match the one from this grammar -- requires Node.js and tree-sitter cli to be installed requires_generate_from_grammar = true, }, } require('nvim-treesitter.configs').setup({ ensure_installed = { --- other parsers 'gh_actions_expressions', }, -- other options })
-
Copy the queries from
queriesdirectory toqueries/gh_actions_expressiondirectory in yourneovimconfiguration directory:With Path Unix ~/.config/nvimWindows ~/AppData/Local/nvimXDG_CONFIG_HOMEset$XDG_CONFIG_HOME/nvim
Helix
WIP
Emacs
WIP
In General
You can get the built files from the release branch. If you
have specific instructions for your editor, PR's are welcome.
Implementations
WIP
References
Thanks
Thanks to @disrupted for creating tree-sitter-github-actions grammar, which is the base I used to create this grammar.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tree_sitter_gh_actions_expressions-0.3.0.tar.gz.
File metadata
- Download URL: tree_sitter_gh_actions_expressions-0.3.0.tar.gz
- Upload date:
- Size: 20.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ef37cfe91d12b4eb49d4afb5e374494b1c6a460604018dddb47d424805d5588
|
|
| MD5 |
4e1ca6310825c9c1d1bce654489bc994
|
|
| BLAKE2b-256 |
f73824856fe283a75a758000893d6b9fa8b1809c6fdf1e58ca61aaaa1a0abdd3
|
File details
Details for the file tree_sitter_gh_actions_expressions-0.3.0-cp310-abi3-win_arm64.whl.
File metadata
- Download URL: tree_sitter_gh_actions_expressions-0.3.0-cp310-abi3-win_arm64.whl
- Upload date:
- Size: 16.1 kB
- Tags: CPython 3.10+, Windows ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
427554c1e12f075b6352c4b5e70c097c7111107c43f7ebfa9c43c5822a75fcb1
|
|
| MD5 |
47756a26124c0773548f72034de6e0e1
|
|
| BLAKE2b-256 |
a204966c16ab85b2ffa8b3f02c8866e6c259e5445c3818ac74915d78e8bb53de
|
File details
Details for the file tree_sitter_gh_actions_expressions-0.3.0-cp310-abi3-win_amd64.whl.
File metadata
- Download URL: tree_sitter_gh_actions_expressions-0.3.0-cp310-abi3-win_amd64.whl
- Upload date:
- Size: 17.1 kB
- Tags: CPython 3.10+, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ddafc2ce01593af91f022f5c32725b201f9aab85513cbfd2b0e93bbfc8f8243d
|
|
| MD5 |
5e14c7dc0138d7299da669eab998aa60
|
|
| BLAKE2b-256 |
f4fcd37b529e6f0a1cf73504d4b08d5636060c5185f0c1c48f5d174f68f23a76
|
File details
Details for the file tree_sitter_gh_actions_expressions-0.3.0-cp310-abi3-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: tree_sitter_gh_actions_expressions-0.3.0-cp310-abi3-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 26.1 kB
- Tags: CPython 3.10+, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bec2e22f98f0ff98316e239d8c1a17d9a1eff71700960b2cb2deef124d1afedc
|
|
| MD5 |
b1293e773ceeec4e9453704549f0a415
|
|
| BLAKE2b-256 |
d3b168fef2066c74249569c09392b226f8c74869082572df1604a70f05bc8813
|
File details
Details for the file tree_sitter_gh_actions_expressions-0.3.0-cp310-abi3-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: tree_sitter_gh_actions_expressions-0.3.0-cp310-abi3-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 27.6 kB
- Tags: CPython 3.10+, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ba219c9e424549707ef6db9db43fc6537d3f886d33c3b295832088d0a64913d
|
|
| MD5 |
c3279b1209ebfff15a22212351bbe8f7
|
|
| BLAKE2b-256 |
63e8d7c1abef4cd59cb919c7c7aeff109f9aee6ea57dac4b890f5a96a74112e2
|
File details
Details for the file tree_sitter_gh_actions_expressions-0.3.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.
File metadata
- Download URL: tree_sitter_gh_actions_expressions-0.3.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
- Upload date:
- Size: 28.5 kB
- Tags: CPython 3.10+, manylinux: glibc 2.17+ ARM64, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
749d346a1606b89acd311b9dc8d2577c9e25a9193846ad3b386d5cd9a525260b
|
|
| MD5 |
5211fefe0bffecdd53f5e81feabc5a69
|
|
| BLAKE2b-256 |
1c3172b1ac17f8223596341b96db9ca4489e5252b177183a5394dcf10314a8f2
|
File details
Details for the file tree_sitter_gh_actions_expressions-0.3.0-cp310-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.
File metadata
- Download URL: tree_sitter_gh_actions_expressions-0.3.0-cp310-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
- Upload date:
- Size: 26.4 kB
- Tags: CPython 3.10+, manylinux: glibc 2.28+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e47f3a55d1954bee2404cf91c0cfee4ebb5f872316270b35312a6c82a2ff855e
|
|
| MD5 |
c00da8fb712c1082815c3ba1c2484b0e
|
|
| BLAKE2b-256 |
809d14805fad1d09d044c0055e389f9269cb1096506fb00a02a463e4082c2235
|
File details
Details for the file tree_sitter_gh_actions_expressions-0.3.0-cp310-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: tree_sitter_gh_actions_expressions-0.3.0-cp310-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 15.5 kB
- Tags: CPython 3.10+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
347a74c8e22ac7cbbc3f935fb6ef660969746636a4cd8392cf3cf8652d4eda69
|
|
| MD5 |
235b06a1167d9f32fc13fffbc0e43ed1
|
|
| BLAKE2b-256 |
e3e0f80f40a6a62971b817aec7d53047947377e69051ebf3f34789b84142d6ff
|
File details
Details for the file tree_sitter_gh_actions_expressions-0.3.0-cp310-abi3-macosx_10_9_x86_64.whl.
File metadata
- Download URL: tree_sitter_gh_actions_expressions-0.3.0-cp310-abi3-macosx_10_9_x86_64.whl
- Upload date:
- Size: 15.1 kB
- Tags: CPython 3.10+, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82ca8690eca9260b56cad9a7d20331197fe1a6f0f6d5f47622f1fed4b89e3682
|
|
| MD5 |
d8bebb9d7f8eae1074709da579fc707e
|
|
| BLAKE2b-256 |
fe77d6e8e72c5a41fc4f9d50a4f6bdda73fcc4066c3c63242895efd20568b616
|