lezer

Incremental parser

MIT 37 个版本
安装
npm install lezer
yarn add lezer
pnpm add lezer
bun add lezer
README

lezer

[ WEBSITE | ISSUES | FORUM | CHANGELOG ]

Lezer ("reader" in Dutch, pronounced pretty much as laser) is an incremental GLR parser intended for use in an editor or similar system, which needs to keep a representation of the program current during changes and in the face of syntax errors.

It prioritizes speed and compactness (both of parser table files and of syntax tree) over having a highly usable parse tree—trees nodes are just blobs with a start, end, tag, and set of child nodes, with no further labeling of child nodes or extra metadata.

This package contains the run-time parser library. It consumes parsers generated by lezer-generator.

The parser programming interface is documented on the website.

The code is licensed under an MIT license.

This project was hugely inspired by tree-sitter.

版本列表
0.13.5 2021-05-14
0.13.4 2021-03-03
0.13.3 2021-02-17
0.13.2 2021-02-17
0.13.1 2020-12-04
0.13.0 2020-12-04
0.12.1 2020-11-19
0.12.0 2020-10-23
0.11.2 2020-09-26
0.11.1 2020-09-26
0.11.0 2020-09-26
0.10.4 2020-09-15
0.10.3 2020-09-10
0.10.2 2020-09-02
0.10.1 2020-08-20
0.10.0 2020-08-07
0.9.1 2020-06-29
0.9.0 2020-06-08
0.8.5 2020-05-01
0.8.4 2020-04-14
0.8.3 2020-04-01
0.8.2 2020-02-28
0.8.1 2020-02-26
0.8.0 2020-02-03
0.7.1 2020-01-23
0.7.0 2020-01-20
0.6.0 2020-01-15
0.5.2 2020-01-09
0.5.1 2020-01-01
0.5.0 2019-10-22
0.4.1 2019-10-14
0.4.0 2019-09-10
0.3.0 2019-08-23
0.2.0 2019-08-02
0.1.1 2019-07-09
0.1.0 2019-07-09
0.0.1 2019-04-18