Re: [dwm] [OT] minimalist ruby?

From: nilp <nilpni_AT_gmail.com>
Date: Wed, 25 Feb 2009 18:42:54 +0100

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. :)

Received on Wed Feb 25 2009 - 17:42:54 UTC

This archive was generated by hypermail 2.2.0 : Wed Feb 25 2009 - 17:48:04 UTC