4 ms·
There are a lot of Scheme implementations floating around the web, in any language you can imagine. I have one of my own (shameless plug: http://code.google.com
by eliben 15y ago
There are a lot of Scheme implementations floating around the web, in any language you can imagine. I have one of my own (shameless plug: http://code.google.com/p/bobscheme/ http://code.google.com/p/bobscheme/) in Python & C++, and there are many others, at least some of which are better than mine in some respects.
The implementation linked here is IMHO badly written - that's not good code to learn from. So if your goal is to learn how to implement Scheme, I suggest to look elsewhere. For example, one good resource is Scheme from Scratch: http://michaux.ca/articles/scheme-from-scratch-introduction http://michaux.ca/articles/scheme-from-scratch-introduction
Note that this is nothing personal, I just frankly think this is not good code to learn from.
- bitcracker 15y agoRacket Scheme (http://racket-lang.org http://racket-lang.org) is a good Scheme implementation and provides plugins for other languages. C, for example: http://planet.racket-lang.org/package-source/jaymccarthy/c.plt/1/2/planet-docs/c/index.html http://planet.racket-lang.org/package-source/jaymccarthy/c.p... Plugin Database: http://planet.racket-lang.org http://planet.racket-lang.org
- eliben 15y agoRacket is good, but I think the discussion here is more about educational implementations - small, simple to grasp. There are of course also a number of industrial-strength implementations of the Scheme language in C and C++, but those are hardly the best place to start this learning!