On Wed, Feb 25, 2009 at 05:46:02PM +0100, pancake wrote: > in the description says: > > > VM specs > > * Register based > <http://github.com/macournoyer/tinyrb/blob/master/vm/opcode.h>, > (like Lua) > * Boehm GC <http://www.hpl.hp.com/personal/Hans_Boehm/gc/> > * Very small < 64K, ~2000 sloc > * Method caching and some inlining > * Lexer in Ragel, parser in Lemon > > that ~2kloc sounds suckless :) > > > http://code.macournoyer.com/tinyrb/ [+] >
Here's Python implementation in 64k (kinda): http://tinypy.org, and minimalist Tcl interpreter Jim (with nicely commented code, btw), http://jim.berlios.de/. And whytheluckystiffs (famous person in ruby world) Potion programming language (http://github.com/why/potion/tree/master) has sort of suckless syntax, can't judge the code though. :)
pgpMGtT8TrMNx.pgp
Description: PGP signature