3 ms·
> You can't use java's classes and perl's regexes and haskell's laziness. You have to pick the whole toolbox together, and take it as it is. Which is (i) a pit
by loup-vaillant 14y ago
> You can't use java's classes and perl's regexes and haskell's laziness. You have to pick the whole toolbox together, and take it as it is.
Which is (i) a pity, and (ii), not entirely true. Sure, current modern compilers represent huge piles of code, but others are small enough that you can realistically craft your tool like a jedi would her lightsaber.
Of the top of my head, I have 3 example of language implementation small enough to be customized, ported, or otherwise scavenged for ideas. Lua, OMeta, and Maru.
http://www.lua.org/ http://www.lua.org/
http://www.tinlizzie.org/ometa/ http://www.tinlizzie.org/ometa/
http://piumarta.com/software/maru/ http://piumarta.com/software/maru/