mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-05 20:50:43 +00:00
256630c84d
Runtime errors and support for line number reporting with the error.
24 lines
477 B
Objective-C
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
|