top | item 43024086

(no title)

deostroll | 1 year ago

Anybody out there who has tried to convert js to ast and back and got OOM?! (I tried @babel/parser). I pray this one doesn't disappoint.

Oh, and comments!!! My general observation is that one cannot capture the comments when code is generated from ast. Although esprima has something in the standard to this effect, implementations generally stuck with weird commenting styles and how to generate code from them...for e.g

var /* hello */ world, foo, /* bar */ s;

discuss

order

No comments yet.