quakeforge/ruamoko/scheme/state.h
Brian Koropoff e8680d792e Added runtime error checking and line number tracking. Seems to catch most
Scheme program errors without making Rua abort now, although there are a
few things that still need to actually report errors instead of failing
in weird ways.
2005-05-08 06:38:01 +00:00

21 lines
358 B
Objective-C

#ifndef __state_h
#define __state_h
#include "Instruction.h"
#include "Frame.h"
#include "CompiledCode.h"
@class Continuation;
struct state_s = {
instruction_t [] program;
lineinfo_t [] lineinfo;
integer pc;
Frame literals, env;
SchemeObject stack;
Continuation cont;
Procedure proc;
};
typedef struct state_s state_t;
#endif