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
What is define-type?
Afficher les réponses par date
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