Code Monkey home page Code Monkey logo

a-lpg / lpg2 Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 4.0 3.79 MB

The LALR parser generator (LPG) is a tool for developing scanners and parsers. Supports multi-language . Input is specified by BNF rules. LPG supports backtracking (to resolve ambiguity), automatic AST generation and grammar inheritance.

License: Eclipse Public License 2.0

GAP 27.11% C++ 72.73% C 0.03% CMake 0.12%
parser-generator grammar dfa lalr language-recognition grammar-parser lalr-parser-generator scannerless yacc-lex jikespg

lpg2's Introduction

LPG2

The LALR parser generator (LPG also known as JikePG) is a tool for developing scanners and parsers . Input is specified by BNF rules. LPG supports backtracking (to resolve ambiguity), automatic AST generation and grammar inheritance.

Automatic AST generation Supports multi-language.

- Java
- JavaScript
- TypeScript
- Python
- Dart
- Go
- C++
- C#

LALR table Supports multi-language.

- Java
- JavaScript
- TypeScript
- Python
- Dart
- Go
- C++/C
- C#

Getting Started with LPG

Getting Started with LPG

LPG2's history

This is a fork of LPG which create by: Philiphe Charles, Robert M. Fuhrer , Gerry Fisher. But It didn't update since 2013-04-25. We are the user of this tool. We want to update this tool , so we fork it and update it here.the original fork only support java runtime . We brought the lsp server , vscode extend ,other language runtime for LPG2 .

Example Uses

  • Eclipse IDE Meta-tooling Platform IMP radically simplifies and speeds up the IDE development process in Eclipse, for both language with existing front-ends as well as languages generated using compiler and interpreter generation frameworks.
  • jikes Jikes is a java compiler .
  • JCDT The core part of JCIDE v3.
  • LPG2 is itself implemented in LPG2.
  • LPG-language-server LPG-language-server for LPG
  • eclipse.jdt.core The core part of Eclipse's Java development tools

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.