jack-compiler/compiler.h

16 lines
259 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(COMPILER* c);
#endif