diff --git a/src/main.nim b/src/main.nim index 8012e8f..643c833 100644 --- a/src/main.nim +++ b/src/main.nim @@ -101,6 +101,7 @@ proc runFile(f: string, fromString: bool = false, dump: bool = true, breakpoints stderr.styledWriteLine(fgRed, styleBright, "Error: ", fgDefault, "the selected backend is not implemented yet") elif backend == PeonBackend.Bytecode: serialized = serializer.loadFile(f) + compiled = serialized.chunk if debugCompiler: styledEcho fgCyan, "Compilation step:\n" debugger.disassembleChunk(serialized.chunk, f)