Today I want to talk about GLR parsing and the internals of the JS++ parser.
In JS++, there is the potential for code to be “ambiguous”. For instance, consider the following example:
There are two interpretations for the above statement:
1. A comparison operation:
Foo is less than
bar is greater than
2. A variable declaration with type
Foo is a generic type with type argument