4 ms·
This is very close to the way Babylon (Babel's JS parser) works: https://github.com/babel/babylon/blob/7.0/src/parser/expression.js#L185 https://github.com/bab
by rattray 10y ago
This is very close to the way Babylon (Babel's JS parser) works:
https://github.com/babel/babylon/blob/7.0/src/parser/expression.js#L185 https://github.com/babel/babylon/blob/7.0/src/parser/express...
If anyone in SF is interested in hacking babylon to build a superset of JS, I'm happy to get coffee and share what I've learned building LightScript [0]. It's been a lot of fun.
[0] http://lightscript.org http://lightscript.org