Simon Lydell

Results 475 comments of Simon Lydell

One thing that stopped me from making a PR is that the functions returned by `compile` throw errors when given invalid/missing data, while today’s implementation seems to never throw errors....

Just for the fun of it, I wrote up a bit about my “dream compile-to-JS” language: https://github.com/lydell/frappe. If you also like fantasizing about syntax it might be worth a read...

@lolmaus Yeah, I'd like to discuss things, but it's very likely I'll forget logging in on gitter, because I don't hang out there very much. (Side note: Frappe has no...

Nope. ``` ~/CoffeeScriptRedux [master|✔] 17:44 $ git checkout 5272d3c -q ~/CoffeeScriptRedux [:5272d3c|✔] 17:44 $ echo "for a in b by -1 then c" | bin/coffee --js --no-optimise // Generated by...

The feature _is_ intentional and nowadays it is documented as well.

It might be a bug in pegjs. As far as I know the offset and line/column are supposed to point to the same place.

I think this happen because [`enableHelpers`](https://github.com/michaelficarra/CoffeeScriptRedux/blob/f199a7f43304103c336ecd5fb03e11673dcbf7a3/src/compiler.coffee#L372) is a module-global variable. It should be created on each invocation.

Are there any API tests? In case I end up making a PR…

Does it make sense to pass `helpers` to each rule, just like `inScope`, `ancestry` etc.?