Lisp & Squeak

Ken Dickey kend0 at earthlink.net
Fri Jul 19 15:16:00 UTC 2002


> HNBeck at t-online.de (Hans Beck) wrote:
> > has anyone tried to fit Lisp/Haskell and Squeak togehter ?

Nishihara Satoshi did a Lisp interpreter for Squeak some time back:
	http://minnow.cc.gatech.edu/squeak/1410


I have written a Scheme->SqueakSmalltalk translator (with a simple Eval 
window).  It is written almost entirely in standard Scheme and bootstraps 
itself (when translated into Smalltalk it properly translates the Scheme 
runtime code & translator).  It runs most of the RNRS Scheme test suite, 
including complex numbers.  

There is a special function for calling Smalltalk code from Scheme.  The ":" 
(send) function:
	(define (number? obj)   
	  (: obj "isKindOf:" ($ "Number")))
Where the "$" (value) fuinction gets the value of a Smalltalk identifier.

Currently is it unreleased (dog slow and needs Anthony Hannan's BlockClosure 
implementation
	http://minnow.cc.gatech.edu/squeak/BlockClosureVersion
which is not  the standard release).

I am awaiting Anthony's new bytecode rewrite before doing a 
Scheme->SqueakBytecode compiler.

It is very much bleeding edge, but I will be happy to send you the code.

Cheers,
-KenD



More information about the Squeak-dev mailing list