mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-30 08:00:51 +00:00
adba6b26dc
- 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
28 lines
492 B
Objective-C
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
|