Skip to content

yyuneko/JLY

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JLY

Contributors Forks Stargazers Issues MIT License


Logo

JLY(JavaScript Lex-Yacc)

A zero-dependency JavaScript implementation of parsing tools lex and yacc. It includes lexer generator, parser generator.

Content

Getting Started

Regex to FA

Currently supports |, ?, *, + and concatenation. See Example

Lexer

See README of Lexer

Parser

See README of Parser

Features

  1. Regular expression to NFA
  2. NFA to DFA
  3. Minimize DFA
  4. Lexer
  5. Parser
    1. LL(1)
    2. LR(0)
    3. SLR(1)
    4. LR(1)
    5. LALR(1)

Deployment

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

Author

Email: steubermarsha54@gmail.com Blog: Yuneko's Blog