@lezer/lr
TypeScript icon, indicating that this package has built-in type declarations

1.4.2 • Public • Published

@lezer/lr

[ 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 LR 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.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.4.2800,582latest

Version History

VersionDownloads (Last 7 Days)Published
1.4.2800,582
1.4.1202,045
1.4.0364,576
1.3.1471,578
1.3.1325,752
1.3.129,914
1.3.112,436
1.3.1029,642
1.3.926,295
1.3.81,400
1.3.72,310
1.3.616,820
1.3.52,138
1.3.47,532
1.3.370,696
1.3.2215
1.3.14,968
1.3.01,772
1.2.512,477
1.2.413,335
1.2.38,752
1.2.2285
1.2.1944
1.2.022,945
1.1.0226
1.0.02,306
0.16.315,958
0.16.2290
0.16.10
0.16.03,548
0.15.8243,010
0.15.7775
0.15.6246
0.15.51,116
0.15.4204
0.15.30
0.15.222
0.15.11,348
0.15.021

Package Sidebar

Install

npm i @lezer/lr

Weekly Downloads

1,968,479

Version

1.4.2

License

MIT

Unpacked Size

166 kB

Total Files

9

Last publish

Collaborators

  • marijn