[gambit-list] 90-min-scc.scm question

Etienne Laurin laurieti at iro.umontreal.ca
Thu Aug 30 13:10:44 EDT 2007


On Fri, Aug 31, 2007 at 12:46:53AM +0800, naruto canada wrote:
> hi
> 
> I've just finished reading the pdf file "The 90 Minute Scheme to C compiler".
> I look at the source code, and got stopped by the first line of code:
> (define-type ast
>   extender: define-type-of-ast
>   subx) ; the asts of the sub-expressions
> 

define-type is the same as define-structure. It has extra keywords arguments
that are documented on the r6rs-editors archive:

http://www.r6rs.org/r6rs-editors/2004-September/000238.html

Etienne Laurin



More information about the Gambit-list mailing list