[antlr-interest] Generating XML from a antlr grammer!
Johannes Luber
jaluber at gmx.de
Sun Jun 17 09:22:21 PDT 2007
Oliver Zeigermann wrote:
> Hi Johannes!
>
> To me your solution looks nice. Maybe the error reporting could be
> more beautiful ;)
>
> Anyway, the only thing I could find was where the scope begins (should
> be element in my opinion) and the check for equality in endTag.
That explains why the solution didn't work as I expected. Was the check
for equality the only mistake I made (was in the C# mindset at that
time) or is the addition of ElementScope to element truly necessary?
After all you don't do anything in element with this scope.
Otherwise, did you add the improved grammar to your wiki tutorial?
Best regards,
Johannes Luber
More information about the antlr-interest
mailing list