# @parser-generator/definition

> A Parser Generator that supports LL,SLR,LR1,LALR

Latest version **0.1.0-alpha.2** (published 2020-03-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install @parser-generator/definition
pnpm add @parser-generator/definition
yarn add @parser-generator/definition
bun add @parser-generator/definition
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0-alpha.2 |
| Published | 2020-03-28 |
| First published | 2020-01-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 563.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 14 |
| Maintainers | light0x00 |
| Keywords | Parser, LL, LR, SLR, LR1, LALR |

## Links

- npm: https://www.npmjs.com/package/@parser-generator/definition
- Repository: https://github.com/light0x00/parser-generator
- npm.io page: https://npm.io/package/@parser-generator/definition

## Dependencies (1)

- [@light0x00/shim](https://npm.io/package/@light0x00/shim.md) ^0.0.2

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 0.1.0-alpha.2 (latest) — 2020-03-28
- 0.1.0-alpha.0 — 2020-01-13
- 0.0.1-alpha.0 — 2020-01-07

## README

[![Build Status](https://travis-ci.com/light0x00/parser-generator.svg?branch=master)](https://travis-ci.com/light0x00/parser-generator)
[![codecov](https://codecov.io/gh/light0x00/parser-generator/branch/master/graph/badge.svg)](https://codecov.io/gh/light0x00/parser-generator)
[![CodeFactor](https://www.codefactor.io/repository/github/light0x00/parser-generator/badge/master)](https://www.codefactor.io/repository/github/light0x00/parser-generator/overview/master)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org)
[![a](https://img.shields.io/npm/v/@parser-generator/cli)](https://www.npmjs.com/package/@parser-generator/cli)

To generate and visualize the First-Set,Follow-Set,Automata,Parsing-Table: ➡️ [Try Online](https://light0x00.github.io/parser-generator/).

It implements almost all the algorithms introuduced in the chapter relevant to grammar analysis in《Compilers Principles》, and combine them as a completed parser generator tool.

The following repositories can serve as the usage references. They all used this tool to generate LR parsing table and LR analysis program.

- [JSON interpreter](https://github.com/light0x00/jsonx)
- [template engine](https://github.com/light0x00/light-template)
- [Expression Interpreter](https://github.com/light0x00/light-lang)

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