JSGLR does not output correct AST for optional literals
(Split from https://yellowgrass.org/issue/StrategoXT/844)
An optional literal always results in
Submitted by Tobi Vollebregt on 10 November 2010 at 14:19None()
in the AST, while in C sglr, an optional literal -when present- results inSome("literal")
in the AST.
Issue Log
On 10 November 2010 at 14:25 Lennart Kats commented:
There’s also an issue with sequences in optionals, e.g.
("foo" Bar Baz)?
. But we give a warning for that now since you get a fugly, almost unusable AST with the original imploder. For now I’ll change the Spoofax SDF editor to give a similar warning about literals in optionals.
On 9 December 2010 at 14:45 Lennart Kats tagged incompatible
Log in to post comments