File tree Expand file tree Collapse file tree 2 files changed +0
-44
lines changed Expand file tree Collapse file tree 2 files changed +0
-44
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import prog8.ast.base.AstException
44import prog8.compiler.CompilationResult
55import prog8.compiler.compileProgram
66import prog8.parser.ParsingFailedError
7- import prog8.repl.Repl
87import prog8.vm.astvm.AstVm
98import java.nio.file.FileSystems
109import java.nio.file.Path
@@ -37,7 +36,6 @@ private fun compileMain(args: Array<String>) {
3736 var optimize = true
3837 var optimizeInlining = true
3938 var launchAstVm = false
40- var launchRepl = false
4139 var watchMode = false
4240 for (arg in args) {
4341 if (arg== " -emu" )
@@ -52,8 +50,6 @@ private fun compileMain(args: Array<String>) {
5250 optimizeInlining = false
5351 else if (arg== " -avm" )
5452 launchAstVm = true
55- else if (arg== " -repl" )
56- launchRepl = true
5753 else if (arg== " -watch" )
5854 watchMode = true
5955 else if (! arg.startsWith(" -" ))
@@ -93,9 +89,6 @@ private fun compileMain(args: Array<String>) {
9389 }
9490 }
9591
96- } else if (launchRepl) {
97- val repl = Repl ()
98- repl.loop()
9992 } else {
10093 if (moduleFile.isBlank())
10194 usage()
@@ -142,7 +135,6 @@ private fun usage() {
142135 System .err.println (" [-emu] auto-start the 'x64' C-64 emulator after successful compilation" )
143136 System .err.println (" [-emu2] auto-start the 'x64sc' C-64 emulator after successful compilation" )
144137 System .err.println (" [-avm] launch the prog8 ast-based virtual machine after compilation" )
145- System .err.println (" [-repl] launch the prog8 REPL (interactive mode)" )
146138 System .err.println (" [-watch] continuous compilation mode (watches for file changes)" )
147139 System .err.println (" modulefile main module file to compile" )
148140 exitProcess(1 )
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments