GrammaticalFramework/JPGF — Issue #2: supporting Int, Float and String cats
Author: erelsgl
Created: 2012-03-09 06:12:41+00:00
State: open

Currently, the Java API does not support the Int, Float and String cats. For example, in this grammar:

S ::= A | B
A ::= "a"
B ::= Int

In the command line, both "a" and "123" are parsed OK;

With the Java API, "a" is parsed OK but "123" is not.

This is a major problem, as there are many useful grammars which become useless when working in Java.

How easy is it to fix this?