@RReverser how awkward would it be to let acorn accept an array of tokens as input? Tokens to AST instead of code to AST
-
-
-
Replying to @RReverser
@RReverser yeah, it would allow very nice@babeljs and sweet.js interop2 replies 0 retweets 0 likes -
Replying to @codemixers
@codemixers@babeljs AFAIR sweet.js uses esprima which has different token format, so you will need to build own interop layer anyway.2 replies 0 retweets 0 likes -
Replying to @RReverser
@rreverser@codemixers Already done that. https://github.com/babel/babel-eslint/blob/master/acorn-to-esprima.js#L5-39 …2 replies 0 retweets 1 like -
Replying to @sebmck
@sebmck@RReverser nice, I think this is really the only limiting factor preventing macros in babel now1 reply 0 retweets 0 likes -
Replying to @codemixers
@codemixers@rreverser I don't understand why people want macros in the first place. Only reason I haven't really looked into it.2 replies 0 retweets 0 likes -
Replying to @sebmck
@codemixers@rreverser It's worse than using non-standard syntax, you're making up your own.1 reply 0 retweets 0 likes -
Replying to @sebmck
@sebmck@codemixers ...said someone who brings pluggable syntax to Babel :P1 reply 0 retweets 1 like
@rreverser @codemixers Only for standards-based syntax experimentation :P
-
-
-
Replying to @RReverser
@rreverser@codemixers My only fear is that someone makes a CoffeeScript plugin and introduces a bunch of gross syntax extensions.1 reply 0 retweets 0 likes - 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
he/him 