Error Recovery with EOF

Hi, I found a little improvement that can be made on ShiftReduceParserCode.cs. When productions contains cascade error tokens only the most inner error is managed but then the parsing is interrupt...

Id #13943 | Release: None | Updated: Jul 19, 2016 at 9:50 AM by th3s7riker | Created: Jul 19, 2016 at 9:45 AM by th3s7riker

Feature request: enable precompiler directives

Most methods generated by gppg and gplex are not documented. As a result, one gets a lot of XML-documentation warnings. A possibility to suppress these warnings is using the #pragma directive. As...

Id #13217 | Release: None | Updated: Aug 25, 2014 at 5:34 AM by KommuSoft | Created: Aug 25, 2014 at 5:34 AM by KommuSoft

Display Strings might get incorrect

Declaring e.g. %token BEGINACTION "begin Action" will result in strings that look like e.g. Syntax error, unexpected "begin€tion", [...] That’s because the code generated contains aliasses.A...

Id #13178 | Release: None | Updated: Apr 17, 2015 at 1:40 PM by MartinMueller | Created: Aug 4, 2014 at 12:02 PM by MartinMueller

Undefined error message

If I use literal ASCII values in the rules, the parser builder complains that I need to declare the tokens. When I create a list of tokens, with literal ascii values, after a certain number I get ...

Id #13110 | Release: None | Updated: Jul 3, 2014 at 9:09 AM by mdec | Created: Jul 3, 2014 at 9:09 AM by mdec

Default semantic action for reductions isn't $1

In the documentation pdf, it states: For production right-hand-sides of all non-zero lengths, the default action is equivalent to “$$=$1”. However, it seems to mistakenly use "$$ = $n". It seems...

Id #11926 | Release: None | Updated: Jul 10, 2013 at 11:16 AM by k_john_gough | Created: Jul 9, 2013 at 11:17 AM by splat_2010

nonassoc works as right association

To reproduce follow this steps: from provided Calc.y build a parser (executable) run it enter "10-3-2" the outcome is "5" (correct) edit Calc.y change the associativity in line with "-"...

Id #11344 | Release: None | Updated: Mar 14, 2013 at 3:39 AM by k_john_gough | Created: Nov 7, 2012 at 8:17 AM by macias

Expose current token for error messages (yyerror)

The problem with current implementation is that you pass already formatted error message to yyerror. This is not suitable -- one case, very needed, is automatic testing. In such I have to keep the ...

Id #11341 | Release: None | Updated: Jul 19, 2016 at 1:14 PM by th3s7riker | Created: Nov 6, 2012 at 9:56 PM by macias

Ability to create separate C# file with tokens

Currently the tokens are written to the same file as the parser. Please add the ability to save them to separate file. Reason: I have project on which the parser relies. However within such projec...

Id #11340 | Release: None | Updated: Feb 21, 2013 at 10:50 PM by macias | Created: Nov 6, 2012 at 3:25 PM by macias

Wrong keyword in documentation -- definitions vs defines

Page 14, "2.4.2 Creating a Token Definitions File" lists "definitions" as keyword. Correct one is "defines".

Id #11338 | Release: None | Updated: Feb 21, 2013 at 10:50 PM by macias | Created: Nov 6, 2012 at 2:01 PM by macias

generated code output "#line default" missing, blanks missing

The issues are generated by these methods void QUT.GPGen.CodeGenerator.InsertCodeSpan( LexSpan span) void QUT.GPGen.SemanticAction.GenerateCode(CodeGenerator codeGenerator) No "#line default" at...

Id #11249 | Release: None | Updated: Feb 21, 2013 at 10:50 PM by k_john_gough | Created: Oct 8, 2012 at 12:54 AM by mo2000