1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-21 03:52:16 -08:00
emacs/admin/notes/tree-sitter/build-module
Jostein Kjønigsen 1985762fbd
Introduce support for TOML config-format
This commit introduces support for the semi-popular TOML
config-format[1] through a new major-mode: toml-ts-mode.

I've read through the full spec[2], and from what I can see this
major-mode should provide correct syntax-highligting for every sort of
config-declaration which adheres to the specification.

Besides that it also adds support for imenu and basic tree-sitter
based navigation.

[1] https://toml.io/en/
[2] https://toml.io/en/v1.0.0
2022-12-14 14:24:09 -08:00
..
batch.sh Introduce support for TOML config-format 2022-12-14 14:24:09 -08:00
build.sh ; * admin/notes/tree-sitter/build-module/build.sh: Minor name change. 2022-12-13 18:04:32 -08:00
README ; Fix typos 2022-11-22 02:24:20 +01:00

To build the language definition for a particular language, run

    ./build.sh <language>

eg,

    ./build.sh html

The dynamic module will be in /dist directory

To build all modules at once, run

    ./batch.sh

This gives you C, JSON, Go, HTML, Javascript, CSS, Python, Typescript
(tsx), C# (csharp), C++ (cpp), Rust. More can be added to batch.sh
unless it's directory structure is not standard.