Closed paulmillr closed 1 year ago
This should help a bit, but obviously isn't a contributors' guide: https://speakerdeck.com/michaelficarra/an-analysis-of-the-redesign-of-the-coffeescript-compiler
I'll try to write something up. Maybe a wiki page with pretty pictures and everything.
+1 that would be cool
RE static type checker: see this tweet: https://twitter.com/puffnfresh/status/303961963661254656
I think it's better to create a tool that performs the analysis on the spidermonkey AST and then just map the types back to the CoffeeScript constructs. Then you'll be able to determine static types for any compile-to-JS language.
edit: here's some good resources or starting points:
I want to try adding some shitty static type checker and learn compilers, but no ideas where to start. I think other folks that want to hack on compiler think similarly.
Would be awesome if there was some simple workflow description.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.