quakeforge/ruamoko/scheme/SchemeObject.r
Brian Koropoff 281b683e14 Initial commit of a future partial implementation of the R5RS Scheme
standard, implemented in Ruamoko.  Currently works for a few simple
"Hello, world!" programs.
2005-05-01 11:48:36 +00:00

32 lines
363 B
R

#include "SchemeObject.h"
@implementation SchemeObject
/*
+ (id) alloc
{
return [super alloc];
}
*/
- (void) mark
{
marked = true;
}
- (BOOL) sweep
{
if (marked) {
marked = false;
return false;
} else {
[self release];
return true;
}
}
- (string) printForm
{
return "<generic>";
}
@end