mirror of
https://github.com/zekexiao/pocketlang.git
synced 2025-02-06 12:46:53 +08:00
19 lines
329 B
C
19 lines
329 B
C
/*
|
|
* 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;
|
|
|
|
bool compile(PKVM* vm, Script* script, const char* source);
|
|
|
|
void compilerMarkObjects(PKVM* vm, Compiler* compiler);
|
|
|
|
#endif // COMPILER_H
|