quakeforge/ruamoko/scheme/Compiler.h
2005-05-08 03:44:18 +00:00

25 lines
461 B
Objective-C

#ifndef __Compiler_h
#define __Compiler_h
#include "SchemeObject.h"
#include "CompiledCode.h"
#include "Symbol.h"
#include "Scope.h"
#include "Error.h"
#define TAIL 1
@interface Compiler: SchemeObject
{
CompiledCode code;
SchemeObject sexpr;
Scope scope;
Error err;
}
+ (id) newWithLambda: (SchemeObject) xp scope: (Scope) sc;
- (id) initWithLambda: (SchemeObject) xp scope: (Scope) sc;
- (SchemeObject) compile;
@end
#endif //__Compiler_h