Skip to content

MichaHoffmann/tree-sitter-promql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tree-sitter-promql

tree-sitter grammar for the promql language

Developing

It is recommended to use nix to fulfill all development dependencies. To activate the development environment simply run nix-shell in the project root.

Running Tests

To run tests simply run nix-shell --run 'tree-sitter test'.

Compliance

The directory corpus contains a corpus of PromQL queries from the internet.

nix-shell -run 'tree-sitter parse --quiet --stat example/real_world/*/*.promql'

Total parses: 219; successful parses: 219; failed parses: 0; success percentage: 100.00%

About

tree-sitter grammar for promql

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published