Skip to content

Releases: benknoble/loner

loner v0.3.0 -- quoted Terminals

22 Jun 23:11
129307d
Compare
Choose a tag to compare

Starting in this release, all forms of loner (js, jvm) will parse terminals in single quotes ', and output terminals in '.

loner v0.2.0 -- LL(1) computer

28 Apr 15:55
Compare
Choose a tag to compare

This release contains a fully-functioning LL(1) computer based on least-fixed-point computation and disjoint prediction sets at choice points in the grammar!

The attached executable can be run directly, or run via the java tool (java -jar).

Example:

# git clone https://github.com/benknoble/loner.git
# cd loner
# .../path/to/loner-0.2.0 ./examples/balanced_paren.ebnf
<A> ::= LParen<A>RParen|x ;
<S> ::= <A>$ ;
# .../path/to/loner-0.2.0 ./examples/arithmetic.ebnf
Not LL(1)

loner v0.1.0 -- ebnf filter

06 Apr 05:33
Compare
Choose a tag to compare

See the announcement!

This first release is still early work, but contains a proof-of-concept EBNF parser.

The attached executable can be run directly, or run via the java tool (java -jar).

Example:

# git clone https://github.com/benknoble/loner.git
# cd loner
# ../path/to/ebnf-0.1.0 ./examples/arithmetic.ebnf
<E> ::= <T>|<E><Op><T> ;
<Op> ::= +|× ;
<T> ::= <E>|num ;