Coder Social home page Coder Social logo

baall-parser-gen's Introduction

BAALL-Parser-Gen

BAALL-Parser-Gen is a utility program to generate a recursive descent parser from a LL(k) grammar definition. It is designed for the BAALL programming language compiler.

How to use

0. Have Java Runtime compatible with Java 17 installed.

1. Download the latest release.

โ†’ Releases

2. Navigate to the jar's location in your terminal of choice

3. Run

java -jar <your-release.jar> <grammar-file-location>

<grammar-file-location> is a required argument that specifies where the grammar definition file is located.

Options

BAALL-Parser-Gen behavior can be altered with different options:

Argument Explanation
-d <target-destination> Specify a directory for the generated sources to be exported to.
Default is the current working directory ('.').
-p <package-name> Specify the package name the generated classes use in their package statement.
Default is 'x.y.z'.
-m Specify that the grammar should be minimized before generation.
-o Specify that existing files should be overridden. This option is inferred per default if not further specified.
-k Specify that the existing files should be kept as is.
-h Show help text. Must be first, grammar location is not required here.

baall-parser-gen's People

Contributors

nikschadowsky avatar

Watchers

 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.