Also, it's not Scheme, but this may be relevant as well: http://haskell.org/haskellwiki/Haskell_in_web_browser

Jake

On 11-01-29 03:37 PM, Dmitry A. Soshnikov wrote:
Probably it will be interesting for someone on the list. The port to CoffeeScript of "The Metacircular Evaluator" section -- 4.1 of the SICP book.

Features: no special :P Currently it's

  - very inefficient,
  - evaluate without optimized pre-parsing,
- it's _not_ a register-based virtual machine (that's one which is from chapter 5 of the book), but just the very first version from chapter 4.1. - it doesn't use all the power of the JS objects (e.g. to handle the scope and environments) - but it's done specially to provide explanations how scope chain lookup is made.

- but - it works :D However, still very limited. Only some of the Scheme's features do work.

Future plans:
  - rewrite it with using JS objects but not Lisp's list imitation;
  - implement virtual machine from chapter 5.

Evaluator: http://dmitrysoshnikov.com/coffee-lisp-eval/index.html

Section in the book: http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-26.html#%_sec_4.1

Dmitry.


--
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to