diff --git a/llama/compiler/compiler.go b/llama/compiler/compiler.go new file mode 100644 index 0000000000000000000000000000000000000000..41da418e7fa23cbd5c67567d8f64ac47852b154e --- /dev/null +++ b/llama/compiler/compiler.go @@ -0,0 +1,10 @@ +package compiler + +// CompileStringToGo tries to compile a string of go code to a go executable, and returns the compiler output and an error. +// The function does not produce any executables, since they are deleted after the function ends. +func CompileStringToGo(code string) (string, error) { + + var output string = "" + // SetupEnvironment + return output, nil +}