Skip to content

About

tree-sitter grammar for promql

Resources

Stars

11 stars

Watchers

1 watching

Forks

Latest commit

 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

11 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages