grammatica icon indicating copy to clipboard operation
grammatica copied to clipboard

Grammatica is a C# and Java parser generator (compiler compiler)

Results 8 grammatica issues
Sort by recently updated
recently updated
newest added

Fixes #15 by skipping `testQuantifierStackOverflow` test on non-64bit architectures.

`testQuantifierStackOverflow` test seems to fail on 32 bit systems with the following: ``` [junit] Testcase: testQuantifierStackOverflow took 0.284 sec [junit] Caused an ERROR [junit] null [junit] java.lang.StackOverflowError [junit] at net.percederberg.grammatica.parser.re.StringElement.match(StringElement.java:98)...

I tried to to create a parser and test it (which was a challenge, because I can find no examples documenting how to properly _use_ the generated code), and I...

bug

In grammatica 1.6: ``` INTERNAL ERROR: An internal error in Grammatica has been found. Please report this error to the maintainers (see the web site for instructions). Be sure to...

Hello, I've used Grammatica a gazillion of years ago (2005!) for my graduation thesis and I'm now rediscovering it to show how to use a parser for our internal tool...

enhancement

(Note: I found this in the C# version. I don't know if the bug exists in the Java version, though I expect it does.) When a Tokenizer is initialized, all...

bug

Hi again! After some testing I've discovered that `for` loop at https://github.com/cederberg/grammatica/blob/master/src/csharp/PerCederberg.Grammatica.Runtime/RecursiveDescentParser.cs#L213 executes infinitely in some cases. And here's some criticism for you: the thing you've done by increasing/decreasing loop...

Hello, to my understanding, currently Grammatica requires declaration for all tokens, even when they are irrelevant to the analyzer. For instance, in this production: IfStatement = "IF" Predicate "THEN" ThenClause...