Hi,
some time ago I started a Tcl-C compiler in Haskell. It should compile
Tcl code to an Tcl extension.
http://wiki.tcl.tk/17385
http://88.198.17.44/~fridolin/tclc/ (darcs)
Few tests (e.g. recursive from shootout) are much faster than Tcl
(original) interpreter but a lot of tests are slower.
A while back I saw a toy tcl interpreter in 550 lines of C called
'picol'. I was looking for a simple language to implement in haskell,
so I made my own toy tcl interpreter. It was surprisingly easy to
make, thanks to the magic of Haskell and Bytestrings. :) It handles a
few things incorrectly,
consalus:
A while back I saw a toy tcl interpreter in 550 lines of C called
'picol'. I was looking for a simple language to implement in haskell,
so I made my own toy tcl interpreter. It was surprisingly easy to
make, thanks to the magic of Haskell and Bytestrings. :) It handles a
few things