# lezer

> Incremental parser

Latest version **0.13.5** (published 2021-05-14) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install lezer
pnpm add lezer
yarn add lezer
bun add lezer
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.13.5 |
| Published | 2021-05-14 |
| First published | 2019-04-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 362.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 39 |
| Author | Marijn Haverbeke |
| Maintainers | marijn |

## Links

- npm: https://www.npmjs.com/package/lezer
- Repository: https://github.com/lezer-parser/lezer
- Homepage: https://github.com/lezer-parser/lezer#readme
- Issues: https://github.com/lezer-parser/lezer/issues
- npm.io page: https://npm.io/package/lezer

## Dependencies (1)

- [lezer-tree](https://npm.io/package/lezer-tree.md) ^0.13.2

## Recent versions

- 0.13.5 (latest) — 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
- … 22 more at https://npm.io/package/lezer/versions

## README

# lezer

[ [**WEBSITE**](http://lezer.codemirror.net) | [**ISSUES**](https://github.com/lezer-parser/lezer/issues) | [**FORUM**](https://discuss.codemirror.net/c/lezer) | [**CHANGELOG**](https://github.com/lezer-parser/lezer/blob/master/CHANGELOG.md) ]

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](https://github.com/lezer-parser/lezer-generator).

The parser programming interface is documented on [the
website](https://lezer.codemirror.net/docs/ref/#lezer).

The code is licensed under an MIT license.

This project was hugely inspired by
[tree-sitter](http://tree-sitter.github.io/tree-sitter/).

---
_Source: https://npm.io/package/lezer · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
