robrix / Madness

Recursive Descent Into Madness
MIT License
291 stars 17 forks source link

Ignore literals by default #25

Closed robrix closed 8 years ago

robrix commented 9 years ago

%"x" produces "x" by default, which is actually kind of redundant. I tend to find myself doing ignore("x") most of the time instead. You can always recover the original behaviour, too:

ignore("x") --> const("x")

We could reintroduce literal as a shorthand for the non-ignored version.

robrix commented 9 years ago

We can’t use const any more, #75 broke it. literal would be viable tho.