Packages
lumis_wasm_liquid
0.26.2
Tree-sitter parser and queries for liquid, compiled to WASM for Lumis
Current section
Files
Jump to
Current section
Files
lumis_wasm_liquid
README.md
README.md
# lumis_wasm_liquid
Self-contained Lumis language package for liquid.
The Tree-sitter parser is compiled to WASM and ships with the queries that highlight it.
Built with [`tree-sitter build --wasm`](https://tree-sitter.github.io/tree-sitter/cli/build.html) `v0.26.11`
[Lumis](https://lumis.sh) loads only the parsers a project depends on, so this dependency is what lets it highlight liquid.
## Installation
```elixir
def deps do
[
{:lumis, "~> 0.8"},
{:lumis_wasm_liquid, "~> 0.26.0"}
]
end
```
## What it contains
`priv/parsers/` holds the parser and the manifest that describes it. The manifest records the parser's size, its SHA-256 and the queries.
Lumis reads both from there, so nothing is downloaded at runtime. `mix release` carries them like any dependency's assets.
The application has no code. It starts nothing and supervises nothing.
## Parser
| Parser | Version | Rev |
| ------ | ------- | --- |
| [https://github.com/hankthetank27/tree-sitter-liquid.git](https://github.com/hankthetank27/tree-sitter-liquid.git) | 0.1.0 | e45dbac8c5fa95b1f0e00e7e0c04bc8855823391 |
## License
The Lumis packaging is MIT. The parser itself is redistributed from the
upstream project above; see that project for its license.