Coder Social home page Coder Social logo

neungkl / ll1-parser Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 94 KB

:pencil2: Web-application for parsing custom language into context-free grammar with error detecting.

Home Page: https://neungkl.github.io/LL1-parser/

License: MIT License

JavaScript 87.57% HTML 12.43%

ll1-parser's Introduction

LL1 Parser

Build Status codecov

This project associated with 2110316 Programming Language study class.

LL1 Parser is web-application that parse custom language into context-free grammar with error detecting.

The project aiming for convert the LL1 context-free grammars to First Set, Follow Set and Parsing table, and scanner for parsing the given tokens to following grammar to check, is it the tokens correct. Follows by the LL1 Parser algorithm

Demo

๐Ÿ‘‰ https://neungkl.github.io/LL1-parser/

Features

  • Included 3 examples.
  • Check if the grammar is correct.
  • Convert LL1 grammar to First Set, Follow Set, and Parsing Table
  • Parser provided with error checking functional.
  • Grammar tree provided.

Usage

Build The Project

Run following command.

npm install -g mocha grunt
npm install
npm run-script build

Then, open index.html

Testing

# Basic test
npm run-script test

# With coverage report
npm run-script test-cov

License

MIT ยฉ Kosate Limpongsa

ll1-parser's People

Contributors

neungkl avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.