Skip to content

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

A-LPG/LPG2

Repository files navigation

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

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages