Jictyvoo / Thenafter

A BNF parser to generate a First and Follow tables.

Home Page:https://github.com/Jictyvoo/Thenafter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Thenafter

Archived

This project was reestructured and refactored in Dart-lang, see thenafter-dart

This is a BNF parser to generate a First and Follow tables.

How to use

  • Download the release, and open in the command terminal like
    thenafter grammar.file
  • Then, will be generated a file with the table for the first and follow
  • WARNING -> The program is case sensitive

Specifying the language generated

Use the --l flag, and write the language extension name after the flag, like:

    thenafter grammar.file --l java

The default extension generated is a .lua file

Singletone Flags

These flags doesn't need a argument to work. Below will be some ones

  • Production -> This flag is used to generate the production object in the requested language.
--p

About

A BNF parser to generate a First and Follow tables.

https://github.com/Jictyvoo/Thenafter

License:MIT License


Languages

Language:Lua 97.0%Language:Shell 3.0%