From bd264499c08c196aa2ce69702cba0829ab24788a Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Tue, 10 Jun 2008 16:52:52 +0200 Subject: Beginnings of a Lisp compiler. --- MLKCons.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 MLKCons.h (limited to 'MLKCons.h') diff --git a/MLKCons.h b/MLKCons.h new file mode 100644 index 0000000..4430275 --- /dev/null +++ b/MLKCons.h @@ -0,0 +1,21 @@ +/* -*- mode: objc; coding: utf-8 -*- */ +/* Copyright 2008, Matthias Benkard. */ + +#import "MLKLispValue.h" + + +@interface MLKCons : MLKLispValue +{ + id _car; + id _cdr; +} + ++(MLKCons*) cons:(id)car with:(id)cdr; + +-(MLKCons*) initWithCar:(id)car cdr:(id)cdr; + +-(id) car; +-(id) cdr; +-(void) setCar:(id)value; +-(void) setCdr:(id)value; +@end -- cgit v1.2.3