Giter Club home page Giter Club logo

grappa-formal's Introduction

README FIRST

The license of this package is ASL 2.0. See the LICENSE file at the root of this repository for more details.

Status...

In development.

What this is

This package has two goals:

  • from grammar formalisms (such as BNF and derivates, WSN, attribute grammars, others?), generate Grappa parsers;
  • the reverse: given a Grappa parser, generate a formalism of your choice.

The goal is for each of these transformations to happen at runtime.

How?

Formalisms to Grappa

The intended process is as follows:

  • have a... Grappa parser... written for a given formalism;
  • generate a comprehensive representation of that formalism;
  • from this representation, generate the source of the parser, using JCodeModel;
  • use the JDK compiler API to compile this generated source into byte code;
  • use the Grappa facilities to generate a parser.

Grappa to formalism

This part requires that Grappa provide, for each of the rules, a formal description at runtime. This is a work in progress, but it is necessary in order to achieve this goal.

Once this work is done, then the plan will be to:

  • generate the parser,
  • collect the rules,
  • collect the formal description for each rule,
  • generate the formalism.

grappa-formal's People

Contributors

fge avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

battyone

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.