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-09 18:28:00 +08:00
bool compile(PKVM* vm, Script* script, const char* source);
2021-02-07 15:40:00 +08:00
2021-05-19 02:59:09 +08:00
void compilerMarkObjects(PKVM* vm, Compiler* compiler);
2021-04-26 17:34:30 +08:00
2021-02-07 15:40:00 +08:00
#endif // COMPILER_H