npm.io
0.4.1-alpha.4 • Published 2 months ago

@ts-jison/lexer

Licence
MIT
Version
0.4.1-alpha.4
Deps
1
Size
31 kB
Vulns
0
Weekly
0
Stars
28

@ts-jison/lexer:


A parser run-time library used by @ts-jison/parser-generator.

This has been factored from Zach Carter zach@carter.name's jison-lex module.

Installation

You probably don't need to install this file as it is included as a dependency in the ouput of @ts-jison/parser-generator and @ts-jison/lexer-generator.

Status:

This works (I'm using it in a few javascript and typescritp projects) and runs the original tests. If you want to geek about this, ping ericP on discord or ericprud on gitter.

Components:

  • parser-generator - A lightly-typescriptified version of jison
  • lexer-generator - A lightly-typescriptified version of jison-lex
  • parser - runtime library for parsers
  • lexer - runtime library for lexers
  • common - functions needed by parser and lexer