tree-sitter-structured-text

Crates.iotree-sitter-structured-text
lib.rstree-sitter-structured-text
version0.21.0
sourcesrc
created_at2024-08-06 18:07:54.815719
updated_at2024-08-06 18:07:54.815719
descriptionstructured-text grammar for the tree-sitter parsing library
homepage
repositoryhttps://github.com/tree-sitter/tree-sitter-structured-text
max_upload_size
id1327599
size1,272,217
Michael Tal (mi-tal)

documentation

README

tree-sitter-structured-text

tree-sitter grammar for structured text.

Structured text is an ancient programming language derived from Pascal and is mostly used in automation. There are ongoing efforts to bring it into the present, so I thought it also needs a tree-sitter implementation.

Unfortunatly there does not seem to be an easy obtainable copy of the spec, so I mostly stared at code and implemented the grammar as best as I could. So there is probably still a lot of grammar missing.

I will deploy this to package registries once I feel happy with the grammar.

How to use

Clone the repository and from the command line:

# Clone the repo
git clone https://github.com/mi-tal/tree-sitter-structured-text.git

# Change into the repo
cd tree-sitter-structured-text

# Install dependencies
npm install

There is also a devcontainer where all the dependencies and extensions needed for development are installed.

Contributing

Pull requests are welcome. If you find grammar missing, please open an issue and we'll discuss how to bring your change into the grammar.

License

MIT

Commit count: 0

cargo fmt