lezer-metricsql 0.0.1-dev.2909230003
Install from the command line:
Learn more about npm packages
$ npm install @clavinjune/lezer-metricsql@0.0.1-dev.2909230003
Install via package.json:
"@clavinjune/lezer-metricsql": "0.0.1-dev.2909230003"
About this version
This is a PromQL grammar for the lezer parser system. It is inspired by the initial grammar coming from Prometheus written in yacc.
This library is stable but doesn't provide any guideline of how to use it as it has been integrated into codemirror-metricsql. If you want to use this library, you perhaps want to actually use @clavinjune/codemirror-metricsql instead.
Note: This library is a lezer-based implementation of the authoritative, goyacc-based PromQL grammar. Any changes to the authoritative grammar need to be reflected in this package as well.
This package is available as an npm package:
npm install --save @clavinjune/lezer-metricsql
Note: you will have to manually install the lezer
dependencies as it is a peer dependency to this package.
npm install --save @lezer/lr @lezer/highlight
npm i
npm run build
npm run test
The code is licensed under an Apache 2.0 license.
Details
- lezer-metricsql
- clavinjune
- about 1 year ago
- Apache-2.0
- 5 dependencies
Assets
- lezer-metricsql-0.0.1-dev.2909230003.tgz
Download activity
- Total downloads 1
- Last 30 days 0
- Last week 0
- Today 0