6 ms·
You can use this tutorial for the first step if you want to do it: Write Yourself a Scheme in 48 Hours by Jonathan Tang. http://jonathan.tang.name/files/scheme_
by m_for_monkey 14y ago
You can use this tutorial for the first step if you want to do it: Write Yourself a Scheme in 48 Hours by Jonathan Tang. http://jonathan.tang.name/files/scheme_in_48/tutorial/overview.html http://jonathan.tang.name/files/scheme_in_48/tutorial/overvi...
- robinh 14y agoIt would be interesting to see how many languages you could nest before the interpreter becomes too slow to be of use.
- pekk 14y agoWhat would be interesting about it?
- mayneack 14y agoseeing how many languages you could nest before the interpreter becomes too slow to be of use.
- Patient0 14y agoI've always thought that this would be a better definition of what a "compiler" is vs what an "interpreter" is: A compiler, if asked to "execute" itself a million times will generate code that is still reasonably fast. An interpreter, if asked to "execute" itself a million times, will generate code that is a million times slower.
- robinh 14y agoTheoretically, one could write an interpreter specifically for the purpose of nesting other interpreters, which would then (nearly) remove itself from memory as it transfers control to the second interpreter, but I know I'm not quite insane enough to start working on such a thing.