Commit graph

15 commits

Author SHA1 Message Date
Christian Clason
6d3a9b6ebd feat(install)!: generate from json instead of requiring node
Problem: Many parsers require node/npm to evaluate the `grammar.js`
before being able to generate a parser from it.

Solution: Generate from `grammar.json` instead, which is fully resolved.
Drops `node` and `npm` as (optional) requirements for nvim-treesitter.

Note that this requires parsers to commit the generated json iff the
grammar requires evaluation (which is currently the case for all tracked
languages).
2025-03-05 10:00:39 +01:00
Christian Clason
ee1e991ae2 refactor: use vim.uv 2025-03-05 10:00:39 +01:00
Christian Clason
70910f335f fix: install dependencies 2025-03-05 10:00:38 +01:00
Christian Clason
6bd77a0870 ci: remove update-lockfile shell script 2025-03-05 10:00:38 +01:00
Lewis Russell
c9074b7e5f refactor: rewrite installation using jobs and async
Replace sync variants with callback support
2025-03-05 10:00:38 +01:00
Christian Clason
e97cf1c5e6 feat(locals)!: refactor locals.lua into standalone
Co-authored-by: TheLeoP <eugenio2305@hotmail.com>
2025-03-05 10:00:38 +01:00
Christian Clason
20c077f374 feat!: drop modules, general refactor and cleanup 2025-03-05 10:00:38 +01:00
ObserverOfTime
f8bc6c69d7 ci: add shebangs to scripts 2023-08-18 11:09:57 +03:00
Amaan Qureshi
853b1ab39a style: fill in missing code docs wherever applicable 2023-02-24 01:08:23 -08:00
ObserverOfTime
370546d283 ci(readme): add experimental annotation
even when the grammar is unmaintained
2022-11-20 12:24:55 +01:00
Cezary Drożak
e87ed0fdaa feat: add "experimental" key to parsers
feat(ci): mark parsers as experimental in README
2021-10-07 22:43:09 +02:00
Santos Gallegos
be8f656087
Use stylua for autoformat code (#1480) 2021-07-04 21:12:17 +00:00
Stephan Seitz
ffe7d96dfd feat(CI): auto-update README.md 2020-08-31 18:53:24 +02:00
Stephan Seitz
47b45ff883 feat(CI): print text what went wrong when README CI fails 2020-08-25 15:22:15 +02:00
Stephan Seitz
7c9ffe9e19 Fix #292: Add parser links to README.md 2020-08-25 14:58:28 +02:00