2026-07-18 18:48:23 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
|
|
#include "machine.h"
|
|
|
|
|
|
|
|
|
|
class Eval_cpp
|
|
|
|
|
{
|
|
|
|
|
public:
|
2026-07-30 23:50:07 +02:00
|
|
|
explicit Eval_cpp(Machine& machine, const Locator& loc);
|
2026-07-18 18:48:23 +02:00
|
|
|
Eval_cpp(const Eval_cpp&) = delete;
|
|
|
|
|
Eval_cpp& operator=(const Eval_cpp&) = delete;
|
|
|
|
|
//~Eval_cpp();
|
|
|
|
|
|
2026-07-30 23:50:07 +02:00
|
|
|
std::string eval(const fs::path& library_path, const std::string& function_name);
|
2026-07-18 18:48:23 +02:00
|
|
|
|
|
|
|
|
Machine m_machine {};
|
|
|
|
|
Locator m_loc;
|
|
|
|
|
};
|