reverofevil

Results 69 comments of reverofevil

> That won't work quite as-is, because that's currently legal and useful for predicates: Oh god forbid. > That's interesting. I'd like to use a word that isn't a valid...

Now that I thought about serializing AST to JSON, I'm not sure if array-object should be serialized as an array, or if it should have a custom `toJSON`. Either option...

Wait, what?! @futagoza

Instead of making it a built-in operator, I've just made parsers that could be parameterized by parsers. [Metagrammar here.](https://github.com/polkovnikov-ph/newpeg/blob/master/parse.np#L37-L38) @futagoza Is there a ticket for parameterized parsers? I think there...

@futagoza Syntax doesn't really matter. Whatever you end up doing with this issue, I greatly appreciate that.

The process is pretty straightforward to do by hand. - Every rule is a function that starts with `peg$parse`. - Every ```javascript } else { peg$currPos = s#; s# =...

1. Monaco editor isn't really that hard to set up. Why not switch to an editor that can support something like this? (ugliest [code](https://github.com/polkovnikov-ph/grammar-debug) alert; press `Next` and hover in...

What if there was a way to define parser-functions, and it would be just `repeat(x, 2..)` and `repeat(x, ..3)`? I think by creating a new syntax for every feature it...

@abhisharkjangir No, it doesn't. The library is mostly dead for the last 2 years, except for a few fixes by @theKashey.

React 18 is a frontend library, it can't collect a list of dynamic imports that were `await`ed for during SSR. You can't do it with loadable components anymore, because it's...