Click here to Skip to main content
13,091,548 members (69,386 online)

The Insider News


The Insider News is for breaking IT and Software development news. Post your news, your alerts and your inside scoops. This is an IT news-only forum - all off-topic, non-news posts will be removed. If you wish to ask a programming question please post it here.

Get The Daily Insider direct to your mailbox every day. Subscribe now!

NewsAcorn: yet another JavaScript parser Pin
Terrence Dorsey2-Oct-12 11:32
staffTerrence Dorsey2-Oct-12 11:32 
Acorn is really fast. Just like Esprima. Acorn is tiny. About half as big as Esprima, in lines of code. Still, there's no good reason for Acorn to exist. Esprima is an excellent project, well-documented, and small enough for any practical use. It exposes an interface very similar to Acorn. The only reason I wrote Acorn is that small, well-defined systems are so much fun to work with, and that Esprima's web page very triumphantly declared it was faster than parse_js, the implementation in UglifyJS version 1, which is a port of my own parse-js Common Lisp library. I just had to see if I could do better.
Why did he code it? Because the challenge was there...

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Advertise | Privacy |
Web01 | 2.8.170813.1 | Last Updated 21 Aug 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid