Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
aaron-lebo
on Feb 10, 2017
|
parent
|
context
|
favorite
| on:
Show HN: A self-hosted js compiler in 1k loc
I really like Douglas Crockford's Pratt parser which is similar. It doesn't compile down to JS but it's trivial to go from the AST to JS either manually or using something like escodegen.
Very elegant and easily extensible.
http://javascript.crockford.com/tdop/index.html
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Very elegant and easily extensible.
http://javascript.crockford.com/tdop/index.html