Java Lookahead Parser Generator

Java Lookahead Parser Generator. Generator produces LALR(k) parsers. Grammar rules are entered using annotations. Rule annotation can be attached to reducer method, which keeps rule and it's action together.

License

License

GroupId

GroupId

org.vesalainen.lpg
ArtifactId

ArtifactId

lpg
Last Version

Last Version

1.8.0
Release Date

Release Date

Type

Type

jar
Description

Description

Java Lookahead Parser Generator
Java Lookahead Parser Generator. Generator produces LALR(k) parsers. Grammar rules are entered using annotations. Rule annotation can be attached to reducer method, which keeps rule and it's action together.
Project URL

Project URL

https://github.com/tvesalainen/lpg/
Source Code Management

Source Code Management

https://github.com/tvesalainen/lpg/

Download lpg

How to add to project

<!-- https://jarcasting.com/artifacts/org.vesalainen.lpg/lpg/ -->
<dependency>
    <groupId>org.vesalainen.lpg</groupId>
    <artifactId>lpg</artifactId>
    <version>1.8.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.vesalainen.lpg/lpg/
implementation 'org.vesalainen.lpg:lpg:1.8.0'
// https://jarcasting.com/artifacts/org.vesalainen.lpg/lpg/
implementation ("org.vesalainen.lpg:lpg:1.8.0")
'org.vesalainen.lpg:lpg:jar:1.8.0'
<dependency org="org.vesalainen.lpg" name="lpg" rev="1.8.0">
  <artifact name="lpg" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.vesalainen.lpg', module='lpg', version='1.8.0')
)
libraryDependencies += "org.vesalainen.lpg" % "lpg" % "1.8.0"
[org.vesalainen.lpg/lpg "1.8.0"]

Dependencies

compile (3)

Group / Artifact Type Version
org.apache.ant : ant jar 1.9.4
org.vesalainen : util jar 1.8.0
org.vesalainen.bcc : bcc jar 1.1.4

test (1)

Group / Artifact Type Version
junit : junit jar 4.11

Project Modules

There are no modules declared in this project.

lpg

Java Lookahead Parser Generator. Generator produces LALR(k) parsers. Grammar rules are entered using annotations. Rule annotation can be attached to reducer method, which keeps rule and it's action together.

Lexical analyzer is based on regular expressions. These are also entered using annotations.

LPG contains Lookahead Parser Generator code. It contains also annotation processor which actually generates the parser code in javalpg.

Versions

Version
1.8.0
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0