quakeforge/ruamoko/scheme/SchemeObject.h
Brian Koropoff adba6b26dc Scheme updates:
- Boolean type (no support in lexer yet)
	- Conditionals
	- Defines (only work correctly at top level)
	- More core builtins (apply, cons, car, cdr)
	- Variable-argument functions
	- Incremental garbage collection
	- Garbage collection fixes
	- Other misc bugs fixed
2005-05-06 23:25:06 +00:00

28 lines
492 B
Objective-C

#ifndef __SchemeObject_h
#define __SchemeObject_h
#include "Object.h"
#define true YES
#define false NO
#define dprintf(x, ...)
@interface SchemeObject: Object
{
@public SchemeObject prev, next;
BOOL marked, root;
integer line;
string source;
}
- (void) mark;
- (void) markReachable;
- (void) makeRootCell;
- (string) printForm;
- (string) source;
- (void) source: (string) s;
- (integer) line;
- (void) line: (integer) l;
- (BOOL) isError;
@end
#endif //__SchemeObject_h