pocketlang/src/compiler.h

19 lines
329 B
C
Raw Normal View History

2021-02-07 15:40:00 +08:00
/*
* Copyright (c) 2021 Thakee Nathees
* Licensed under: MIT License
*/
#ifndef COMPILER_H
#define COMPILER_H
#include "common.h"
#include "var.h"
typedef struct Compiler Compiler;
2021-05-07 15:21:34 +08:00
bool compile(MSVM* vm, Script* script, const char* source);
2021-02-07 15:40:00 +08:00
2021-04-26 17:34:30 +08:00
void compilerMarkObjects(Compiler* compiler, MSVM* vm);
2021-02-07 15:40:00 +08:00
#endif // COMPILER_H