Skip to content
Snippets Groups Projects
Commit 3b830165 authored by Ammar Ahmed's avatar Ammar Ahmed :speech_balloon:
Browse files

create compiler stub

parent 38c3cca9
No related branches found
No related tags found
No related merge requests found
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
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment