quakeforge/ruamoko/scheme/Compiler.h
Brian Koropoff 256630c84d Added proper error checking and reporting with line numbers. Next:
Runtime errors and support for line number reporting with the error.
2005-05-02 04:58:22 +00:00

24 lines
477 B
Objective-C

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