Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Add Ohm language parser #3114

Merged
merged 1 commit into from Mar 1, 2024

Conversation

novusnota
Copy link
Contributor

Brief description

Adding the complete parser of the Ohm language.
It has highlights, locals and tags generic queries, as well as editor-specific ones.
Besides, the parser itself, tag and highlighting queries are test-covered.

About the language

Ohm is a parsing toolkit consisting of a library and a domain-specific language. One can use it to parse custom file formats or quickly build parsers, interpreters, and compilers for programming languages.

The Ohm language is based on parsing expression grammars (PEGs), which are a formal way of describing syntax, similar to regular expressions and context-free grammars. The Ohm library provides a JavaScript interface for creating parsers, interpreters, and more from the grammars you write.

@maxbrunsfeld maxbrunsfeld merged commit 6756eb5 into tree-sitter:master Mar 1, 2024
12 of 13 checks passed
@maxbrunsfeld
Copy link
Contributor

Thanks!

@novusnota novusnota deleted the ohm-language branch March 1, 2024 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants