Rich-Harris / esrap

Parse in reverse
MIT License
51 stars 3 forks source link

rewrite #7

Closed Rich-Harris closed 9 months ago

Rich-Harris commented 9 months ago

WIP. at the moment esrap chokes on large ASTs because it visits CallExpression nodes multiple times in order to format them properly. in pathological cases this results in thousands upon thousands of unnecessary visits.

this approach is vastly more efficient. needs more testing and tidying up though