73 void* symbol_address =
nullptr;
88 EvalResult eval_file(
const std::string& filepath);
95 void* get_symbol_address(
const std::string& name);
101 std::vector<std::string> get_defined_symbols();
107 void add_include_path(
const std::string& path);
113 void add_library_path(
const std::string& path);
119 void add_compile_flag(
const std::string& flag);
125 void set_target_triple(
const std::string& triple);
void extract_symbols_from_code(const std::string &code)
std::string get_last_error() const
Gets the last error message.
void detect_system_includes()
bool setup_compiler_instance()
ClangInterpreter(ClangInterpreter &&) noexcept
ClangInterpreter(const ClangInterpreter &)=delete
std::unique_ptr< Impl > m_impl
Internal implementation details.
bool create_interpreter()
std::string preprocess_code(const std::string &code)
ClangInterpreter & operator=(const ClangInterpreter &)=delete
Embedded Clang interpreter for live code evaluation in MayaFlux.
std::string error
Error message if evaluation failed.
std::string output
Output from code execution.
Result of code evaluation.