tree-sitter-strdl
Tree-sitter parser for Strudel, a Tidal Cycles based live coding tool.
Usage
To install the parser in Neovim:
- Create a file
strudel-integration.luain your~/.config/nvim/lua/directory:
---@class ParserConfig
local parser_config = require("nvim-treesitter.parsers").get_parser_configs()
parser_config.strudel = {
install_info = {
-- url = "https://github.com/pedrozappa/tree-sitter-strdl", -- local path or git repo
url = "~/tree-sitter-strdl/", -- local path to this repo
files = { "src/parser.c" }, -- note that some parsers also require src/scanner.c or src/scanner.cc
-- optional entries:
branch = "main", -- default branch in case of git repo if different from master
generate_requires_npm = false, -- if stand-alone parser without npm dependencies
requires_generate_from_grammar = false, -- if folder contains pre-generated src/parser.c
},
filetype = "strdl", -- if filetype does not match the parser name
}
vim.api.nvim_create_autocmd("BufRead", {
pattern = { "*.strdl", "*.strudel" },
callback = function()
vim.bo.filetype = "strdl"
end,
})
- On your
~/.config/nvim/init.lua:
require("strudel-integration")
Run the following to install the parsers schemas:
npm run local_install
Docs
Learning Resources
Metadata
Release files for tree-sitter-strudel 1.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tree_sitter_strudel-1.1.8.tar.gz | 34.0 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| tree_sitter_strudel-1.1.8-cp310-abi3-win_arm64.whl | CPython 3.10 | abi3 | Windows ARM64 | Details |
| tree_sitter_strudel-1.1.8-cp310-abi3-win_amd64.whl | CPython 3.10 | abi3 | Windows x86-64 | Details |
| tree_sitter_strudel-1.1.8-cp310-abi3-musllinux_1_2_x86_64.whl | CPython 3.10 | abi3 | Linux musl 1.2+ x86-64 | Details |
| tree_sitter_strudel-1.1.8-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl | CPython 3.10 | abi3 | Linux glibc 2.17+ ARM64 | Details |
| tree_sitter_strudel-1.1.8-cp310-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.10 | abi3 | Linux glibc 2.5+ x86-64, Linux glibc 2.17+ x86-64 | Details |
| tree_sitter_strudel-1.1.8-cp310-abi3-macosx_11_0_arm64.whl | CPython 3.10 | abi3 | macOS 11.0+ ARM64 | Details |
| tree_sitter_strudel-1.1.8-cp310-abi3-macosx_10_9_x86_64.whl | CPython 3.10 | abi3 | macOS 10.9+ x86-64 | Details |
Total release size: 247.3 kB
Release files / tree_sitter_strudel-1.1.8.tar.gz
| Download URL | tree_sitter_strudel-1.1.8.tar.gz |
|---|---|
| Size | 34.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a568affc7155ccccc545e351469dc707c5fe85352df15977499bb00ca7feab7e
|
|
BLAKE2b-256 checksum How to use checksums |
5951f29b8eeaa55fad5ca7f26c27165f405063af790fc202a84b0b0d7cb178ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / tree_sitter_strudel-1.1.8-cp310-abi3-win_arm64.whl
| Download URL | tree_sitter_strudel-1.1.8-cp310-abi3-win_arm64.whl |
|---|---|
| Size | 27.1 kB |
| Tags | CPython 3.10 Windows ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
5c6a8fa38e89cc00f7095f4874d35004572bb4e2d1c2e521bcd0a12ddb4d6746
|
|
BLAKE2b-256 checksum How to use checksums |
b45deaa0630f63900fc1e826399eb4977170ea425a4f1c8b76467226cdd85a0e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / tree_sitter_strudel-1.1.8-cp310-abi3-win_amd64.whl
| Download URL | tree_sitter_strudel-1.1.8-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 28.1 kB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
cb0d4ac7dbab796c9cefc043fad2ce6f1a0fbb8de6fe23b8cb1fdbfb3cd79fed
|
|
BLAKE2b-256 checksum How to use checksums |
b08b00d37f67924dcc5b1cc41b36c9f60f58821fe9a3a69573059b7f8f6e5ea1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / tree_sitter_strudel-1.1.8-cp310-abi3-musllinux_1_2_x86_64.whl
| Download URL | tree_sitter_strudel-1.1.8-cp310-abi3-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 34.8 kB |
| Tags | CPython 3.10 Linux musl 1.2+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
9be150a92c6208de0851b7cb2ba81bc4e208085a323aae907de23a4594dce08e
|
|
BLAKE2b-256 checksum How to use checksums |
0393cbdae426d9916f20d93836793fdb28db721588ee95d4c20d8f8e2311b307
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / tree_sitter_strudel-1.1.8-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | tree_sitter_strudel-1.1.8-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 36.0 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
03278b89923b58d8bfc0a982bd5673f1ad316ce486798388b81a26f55aeff1b8
|
|
BLAKE2b-256 checksum How to use checksums |
3c9022a4de2d1eb201875acb415af98f2c400ba3222a0c331771598742560ab2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / tree_sitter_strudel-1.1.8-cp310-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | tree_sitter_strudel-1.1.8-cp310-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 35.9 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 Linux glibc 2.5+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
1c3b8af51cf4ce31fa157942e8e4845b40de434bb4ed1d4239afee849a618bd3
|
|
BLAKE2b-256 checksum How to use checksums |
c18fd122c69369a026b4d67716db6897046f4636743d2e4f8c65a48d4cb33bb4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / tree_sitter_strudel-1.1.8-cp310-abi3-macosx_11_0_arm64.whl
| Download URL | tree_sitter_strudel-1.1.8-cp310-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 26.1 kB |
| Tags | CPython 3.10 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
ee702051b6c7267692d4fceccaf03986638947a469990be9c2aa98a49fed04e3
|
|
BLAKE2b-256 checksum How to use checksums |
76668611ca692ff47878be15a36190faf0020a1a023c1dd762eb2b4dae65b866
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / tree_sitter_strudel-1.1.8-cp310-abi3-macosx_10_9_x86_64.whl
| Download URL | tree_sitter_strudel-1.1.8-cp310-abi3-macosx_10_9_x86_64.whl |
|---|---|
| Size | 25.5 kB |
| Tags | CPython 3.10 abi3 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
1c82fd2b4a737cd4692ae1acfe8961231d6da4d681b04ff04d0e6c28ef098619
|
|
BLAKE2b-256 checksum How to use checksums |
b6b53dca242ad5b0dfe3fa07a3ffb0d00167fb211f348d377d0b34baa0866326
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|