-
- Downloads
goalc/repl: Allow hot-loading files via `ml` with just the object name (#2036)
This allows you to not have to define the entire file path to a source file to re-compile and load it. Technically a stop-gap until editor tools are developed around writing OpenGOAL.  As opposed to `(ml "goal_src/jak2/engine/game/main.gc")` (which still works) This is accomplished via the following config (connection attempts is irrelevant): ```json { "numConnectToTargetAttempts": 1, "jak2": { "asmFileSearchDirs": [ "goal_src/jak2" ] } } ``` This also provides a way to make game-specific configurations for the REPL fairly easily.
Showing
- common/CMakeLists.txt 2 additions, 1 deletioncommon/CMakeLists.txt
- common/goos/Reader.cpp 2 additions, 10 deletionscommon/goos/Reader.cpp
- common/util/FileUtil.cpp 15 additions, 2 deletionscommon/util/FileUtil.cpp
- common/util/FileUtil.h 1 addition, 0 deletionscommon/util/FileUtil.h
- common/util/StringUtil.cpp 24 additions, 0 deletionscommon/util/StringUtil.cpp
- common/util/StringUtil.h 8 additions, 0 deletionscommon/util/StringUtil.h
- goalc/compiler/Compiler.cpp 50 additions, 7 deletionsgoalc/compiler/Compiler.cpp
- goalc/compiler/Compiler.h 9 additions, 4 deletionsgoalc/compiler/Compiler.h
- goalc/compiler/Env.cpp 10 additions, 0 deletionsgoalc/compiler/Env.cpp
- goalc/compiler/Env.h 2 additions, 0 deletionsgoalc/compiler/Env.h
- goalc/compiler/Util.cpp 10 additions, 1 deletiongoalc/compiler/Util.cpp
- goalc/compiler/compilation/CompilerControl.cpp 35 additions, 7 deletionsgoalc/compiler/compilation/CompilerControl.cpp
- goalc/main.cpp 2 additions, 2 deletionsgoalc/main.cpp
Loading
Please register or sign in to comment