Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How about 49 lines?

https://github.com/samphilipd/the-little-schemer/blob/master...

I wrote an implementation of Scheme in Javascript to use as I work through the excellent book 'The Little Schemer'. Turns out you can implement a basic version of the language in just 7 functions.

It's Turing complete and you can use the base methods to build any function you need.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: