meisl
meisl
Oh well...
Hi, I just made a syntax file for Notepad++. Without `asm {{` ... `}}` parts though, unsure how to go about that. So, it's not finished but I can make...
Done: https://github.com/irmen/prog8/pull/32
@davewathaverford super interesting observation! I've got a very short answer for you. But I'd love to discuss it more, in particular what could be done *automatically* to alleviate the problem....
Hehe, I bet whatever you want that memoization *does* help! The theory is pretty old, but they couldn't afford the memory back then. I've done a first sketch of my...
Thanks :) Re `x+x+x`: doesn't make much of a difference, was just wondering. If you want me to explain how things work in my grammar - just ask (I am...
@polkovnikov-ph, @davewathaverford: right, that's the problem. But: will the advice "no common prefixes" actually help less experienced ppl? Or, as @davewathaverford said, left factoring is *ugly* to do by hand....
### Refactored version incl. variant 0 (using `*`) *[EDIT: as spotted by @Mingun, v0 should NOT have common prefixes. Previously there was code pasted below, but that is now outdated....
I've just forked pegjs and put above stuff into [tools/benchmark/nesting](https://github.com/meisl/pegjs/tree/master/tools/benchmark/nesting) (don't know better atm). This gives me diffs, which I now need. Will put subsequent examples there as well, and...
@davewathaverford Re minimal example: I tried to really boil it down. I could just [link to my fork](https://github.com/meisl/pegjs/commit/62398ae7c8edf202bd28a3a81158aae7eb77d586?short_path=6b65b14#diff-6b65b14a591558d2d2f704032b9e7237), but I'll post the relevant part here again, for your convenience. Do...