diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-04-21 17:05:46 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-04-21 17:05:46 -0400 |
| commit | eed8b0175d358d5990c248fa347354fc8ba25066 (patch) | |
| tree | 39830d2c7f9e24208ccdbb33c438670ea5c1653e /src/tomo.c | |
| parent | ab55eee556ecbe6a8bd0a4f4cd92e38b021f6841 (diff) | |
Deprecate REPL
Diffstat (limited to 'src/tomo.c')
| -rw-r--r-- | src/tomo.c | 11 |
1 files changed, 3 insertions, 8 deletions
@@ -14,7 +14,6 @@ #include "compile.h" #include "cordhelpers.h" #include "parse.h" -#include "repl.h" #include "stdlib/lists.h" #include "stdlib/bools.h" #include "stdlib/bytes.h" @@ -60,7 +59,6 @@ static OptionalBool_t verbose = false, stop_at_obj_compilation = false, compile_exe = false, should_install = false, - run_repl = false, clean_build = false, source_mapping = true; @@ -177,8 +175,6 @@ int main(int argc, char *argv[]) {"L", false, List$info(&Path$info), &libraries}, {"show-codegen", false, &Text$info, &show_codegen}, {"C", false, &Text$info, &show_codegen}, - {"repl", false, &Bool$info, &run_repl}, - {"R", false, &Bool$info, &run_repl}, {"install", false, &Bool$info, &should_install}, {"I", false, &Bool$info, &should_install}, {"c-compiler", false, &Text$info, &cc}, @@ -230,10 +226,9 @@ int main(int argc, char *argv[]) wait_for_child_success(child); } - // TODO: REPL - if (run_repl) { - repl(); - return 0; + if (files.length == 0) { + fprint(stderr, "No files provided!\n\n", usage); + return 1; } if (files.length <= 0 && (uninstall.length > 0 || libraries.length > 0)) { |
