jak-project/goalc/compiler
Tyler Wilding eb703ee96e
REPL related improvements and fixes (#3545)
Motivated by - https://github.com/open-goal/opengoal-vscode/pull/358

This addresses the following:
- Fixes #2939 spam edge-case
- Stop picking a different nREPL port based on the game mode by default,
this causes friction for tools in the average usecase (having a REPL
open for a single game, and wanting to connect to it). `goalc` spins up
fine even if the port is already bound to.
- For people that need/want this behaviour, adding per-game
configuration to the `repl-config.json` is on my todo list.
- Allows `goalc` to permit redefining symbols, including functions. This
is defaulted to off via the `repl-config.json` but it allows you to for
example, change the definition of a function without having to restart
and rebuild the entire game.
![Screenshot 2024-06-02
124558](https://github.com/open-goal/jak-project/assets/13153231/28f81f6e-b7b8-4172-9787-f96e4ab1305b)
- Updates the welcome message to include a bunch of useful metadata
up-front. Cleaned up all the startup logs that appear when starting
goalc, many of whom's information is now included in the welcome
message.
  - Before:

![image](https://github.com/open-goal/jak-project/assets/13153231/814c2374-4808-408e-9ed6-67114902a1d9)

  - After:
![Screenshot 2024-06-01
235954](https://github.com/open-goal/jak-project/assets/13153231/f3f459fb-2cbb-46ba-a90f-318243d4b3b3)
2024-06-03 00:14:52 -04:00
..
compilation REPL related improvements and fixes (#3545) 2024-06-03 00:14:52 -04:00
docs LSP: A bunch of new OpenGOAL language features (#3437) 2024-03-30 19:49:07 -04:00
CodeGenerator.cpp deps: update fmt to latest version (#3403) 2024-03-05 22:11:52 -05:00
CodeGenerator.h game: Remove temporary CLI arg shim in gk (#2532) 2023-04-22 14:13:57 -04:00
Compiler.cpp REPL related improvements and fixes (#3545) 2024-06-03 00:14:52 -04:00
Compiler.h REPL related improvements and fixes (#3545) 2024-06-03 00:14:52 -04:00
CompilerException.h split new pc features in some files into their own code files + address some old issues + ripple graphics improvements (#2216) 2023-02-13 21:39:14 +00:00
CompilerSettings.cpp [goalc] Cleaned up speedups (#3066) 2023-10-07 10:48:17 -04:00
CompilerSettings.h Dependency graph work - Part 1 - Preliminary work (#3505) 2024-05-12 12:37:59 -04:00
ConstantValue.h deps: update fmt to latest version (#3403) 2024-03-05 22:11:52 -05:00
Env.cpp Dependency graph work - Part 1 - Preliminary work (#3505) 2024-05-12 12:37:59 -04:00
Env.h Dependency graph work - Part 1 - Preliminary work (#3505) 2024-05-12 12:37:59 -04:00
IR.cpp deps: update fmt to latest version (#3403) 2024-03-05 22:11:52 -05:00
IR.h [jak2] GOAL side texture animation stuff (#2766) 2023-06-24 10:11:47 -04:00
Label.h Add #pragma once to all headers 2020-09-13 21:36:35 -04:00
Lambda.h [goalc] Cleaned up speedups (#3066) 2023-10-07 10:48:17 -04:00
StaticObject.cpp deps: update fmt to latest version (#3403) 2024-03-05 22:11:52 -05:00
StaticObject.h lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
symbol_info.cpp Dependency graph work - Part 1 - Preliminary work (#3505) 2024-05-12 12:37:59 -04:00
symbol_info.h Dependency graph work - Part 1 - Preliminary work (#3505) 2024-05-12 12:37:59 -04:00
Util.cpp Dependency graph work - Part 1 - Preliminary work (#3505) 2024-05-12 12:37:59 -04:00
Val.cpp deps: update fmt to latest version (#3403) 2024-03-05 22:11:52 -05:00
Val.h [goalc] default to non-immediate lambdas if not requested (#2604) 2023-04-30 19:00:27 -04:00