mirror of
https://github.com/usatiuk/psil.git
synced 2025-10-28 10:47:49 +01:00
21 lines
362 B
C++
21 lines
362 B
C++
//
|
|
// Created by Stepan Usatiuk on 27.12.2023.
|
|
//
|
|
|
|
#ifndef PSIL_COMPILER_H
|
|
#define PSIL_COMPILER_H
|
|
|
|
|
|
#include "Handle.h"
|
|
|
|
class Compiler {
|
|
public:
|
|
static Handle compile(const Handle &src, Handle fake_env = nullptr, const Handle &suffix = nullptr);
|
|
|
|
private:
|
|
static Handle findIndex(const Handle &symbol, const Handle &env);
|
|
};
|
|
|
|
|
|
#endif //PSIL_COMPILER_H
|