wdte icon indicating copy to clipboard operation
wdte copied to clipboard

ast: remove necessity for 'Ω's

Open DeedleFake opened this issue 8 years ago • 2 comments

It should not be necessary to specify where the EOF is expected in the grammar. This was originally a workaround, but it's now causing problems with expression evaluation. In particular, the expression parser is incapable of parsing compounds at the moment.

I've kind of started working on fixing this in the dev/omega branch, but I'm not sure what exactly I've done wrong. This might require a fairly heavy refactoring of the parser code, although I hope it doesn't.

DeedleFake avatar Oct 18 '17 03:10 DeedleFake

Depending on how this works out, this might remove the need for a separate grammar for parsing standalone expressions, which could, in turn, remove the Go 1.9 requirement.

DeedleFake avatar Oct 18 '17 05:10 DeedleFake

This will likely become basically unecessary once #53 is done.

DeedleFake avatar Mar 11 '18 15:03 DeedleFake