Source code of little


#1

Hi,

do you know where I can find the source code of little-lang. I want to use it as an inspiration for creating pet languages on the Tcl/Tk VM. The little-lang repository does not include source code. Only references to tcl tk and others.


#2

Those are not references to any old tcl repository but rather a specific one that has little-lang hacked into it.

The bulk of what you’re looking for is in tcl/generic/L*.[ch] and tcl/library/libl.tcl


#3

As George said - you need to build it against a specific version of tcl which is in the repo.

if you git clone --recursive https://github.com/bitkeeper-scm/little-lang.git

all the code is there and builds and you can dig into the changes.