Geoffrey Booth

Results 425 comments of Geoffrey Booth

Can you please include what the expected output JavaScript would be for your examples? Also are there any ECMAScript proposals at any stage of the TC39 approval pipeline that overlap...

So I think you would need to compile into `== null` rather than `=== undefined` to match the output of `?` in other contexts (i.e. `null` or `undefined`, not just...

Any thoughts @connec or @helixbass ?

> Should all methods in object literals transpile to `foo() {}` with this change? Or only if `super` is used? I see no reason not to use the method (`foo()...

Alright, anyone else? @connec ?

I think `isMethod` in the context of `Code` determines whether to output as `fn() {}` (method style syntax) or `fn = function() {}` (traditional style, with `function` keyword). So it...

So first off, you want to be editing `nodes.coffee`, not `nodes.js`. See https://github.com/jashkenas/coffeescript/wiki/%5BHowTo%5D-Hacking-on-the-CoffeeScript-Compiler

Sorry I didn't look closer. You might want to review https://github.com/jashkenas/coffeescript/wiki/%5BHowTo%5D-How-parsing-works, that provides an overview. Getting debugging working in Node is well worth the time. Basically create a `test.coffee` with...

I’m leaning toward having the compiler output `.mcoffee` and `.litmcoffee` files as `.mjs` files. This would allow a project’s output to contain both types of files (`.mjs` and `.js`). In...

Looks like TypeScript is debating similar issues: https://github.com/Microsoft/TypeScript/issues/18442