88 #include "../submodules/CoreLibrary/CoreLibrary/utils.h"
90 #include "../r_code/list.h"
92 #include "../r_comp/segments.h"
93 #include "../r_comp/compiler.h"
94 #include "../r_comp/preprocessor.h"
102 extern r_exec_dll Timestamp (*Now)();
113 bool r_exec_dll Compile(
const char *filename, std::string &error);
114 bool r_exec_dll Compile(std::istream &source_code, std::string &error);
121 static const uint32 ObjectsInitialSize = 16;
122 static thread_ret thread_function_call Decompile(
void *args);
129 volatile uint32 spawned_;
137 TDecompiler(uint32 ostream_id, std::string header);
153 public std::ostream {
155 static std::vector<PipeOStream *> Streams_;
166 static void Open(uint8 count);
206 getUserOperatorFunction_ = (
void* (*)(
const char*))sharedLibrary_.getFunction(
"GetUserOperatorFunction");
211 if (getUserOperatorFunction_) {
213 void* result = getUserOperatorFunction_(function_name);
219 return sharedLibrary_.getFunction(function_name);
223 void* (*getUserOperatorFunction_)(
const char* function_name);
228 bool r_exec_dll Init(FunctionLibrary* userOperatorLibrary,
229 Timestamp (*time_base)(),
230 const char *seed_path);
233 bool r_exec_dll Init(FunctionLibrary* userOperatorLibrary,
234 Timestamp (*time_base)(),
238 uint16 r_exec_dll GetOpcode(
const char *name);
240 std::string r_exec_dll GetAxiomName(
const uint16 index);
242 bool r_exec_dll hasUserDefinedOperators(
const std::string class_name);
244 bool r_exec_dll hasUserDefinedOperators(
const uint16 opcode);