16 lines
248 B
C
16 lines
248 B
C
#ifndef COMPILER_H
|
|
#define COMPILER_H
|
|
#include "compiler-scopes.h"
|
|
#include "parser-tree.h"
|
|
#include "vm-lines.h"
|
|
|
|
typedef struct {
|
|
SCOPE* globalscope;
|
|
LINEBLOCK* output;
|
|
} COMPILER;
|
|
|
|
COMPILER* mkcompiler(CLASS* classes);
|
|
void compile();
|
|
|
|
#endif
|