News for hackers. Stuff that matters.
Re:A programming language in 450 lines of JavaScript by Aissen on Tuesday November 04, 2014 @05:49AM (#8555935)
Yours is a lisp-like, so much easier to parse; and it doesn't have the nice in-dom ast viewer nor nearly the same number of comments (I compared with http://eloquentjavascript.net/code/chapter/11_language.js).
Re:A programming language in 450 lines of JavaScript by V-2 on Tuesday November 04, 2014 @09:04AM (#8556506)
Still very interesting
Re:A programming language in 450 lines of JavaScript by Aissen on Tuesday November 04, 2014 @10:00AM (#8556767)
It's even more interesting because it's part of book. Just setting the expectations, because it's not an apple-to-apple comparison.
Re:A programming language in 450 lines of JavaScript by breuleux on Tuesday November 04, 2014 @12:49PM (#8557914)
The AST viewer is not included in the 450 lines, although the comments are. Most of the difference is due to the more sophisticated parser and some extra features like arrays.