issues
search
lkelly93
/
scheduler
Schedules and runs foreign code sequentially.
MIT License
0
stars
1
forks
source link
Refactor program
#8
Closed
lkelly93
closed
4 years ago
lkelly93
commented
4 years ago
program.go/program_test.go
Refactored to use interfaces instead of Program Struct
Refactored NewProgram->NewExecutable so it returns the new interface
Refactored Run so it uses the new interface
Refactored Program to hold the needed functions and code.
Refactored Run so we can better output errors
java_runner.go
Renamed java -> createRunnerFIleJava
Refacoted java to add newlines to the imports and class definitions
Added parseJavaStandardErr to generate uniform error output
python_runner.go
Same as java_runner.go but for python
runner.go/runner_files_test.go
Created needed functions struct
Refactored supported languages to support both needed functions
Refactored GetFunctor -> GetNeededFunctions because we need more then one function now
program.go/program_test.go
java_runner.go
python_runner.go
runner.go/runner_files_test.go