@@ -158,9 +158,7 @@ fn run_binary_file(vm: &mut VM, path: &str) -> Result<(), String> {
158158 }
159159 }
160160 let offset = vm. append_program ( program) ;
161- println ! ( "Running from offset {}..." , offset) ;
162161 vm. run_event_loop ( ) ;
163- println ! ( "Execution complete." ) ;
164162 Ok ( ( ) )
165163 }
166164 Err ( e) => Err ( format ! ( "Failed to decode bytecode: {}" , e) ) ,
@@ -261,7 +259,7 @@ fn main() {
261259
262260 // Binary mode: load and run pre-compiled bytecode directly
263261 if run_binary {
264- println ! ( " Running bytecode file: {}" , filename ) ;
262+ // Running bytecode file
265263 if let Err ( e) = run_binary_file ( & mut vm, filename) {
266264 eprintln ! ( "{}" , e) ;
267265 }
@@ -271,7 +269,7 @@ fn main() {
271269 // 1. Load and run prelude first (if exists)
272270 // This sets up global constants (OP, TOKEN, TYPE) and utility functions
273271 if Path :: new ( PRELUDE_PATH ) . exists ( ) {
274- println ! ( " Loading prelude..." ) ;
272+ // Loading prelude
275273 if let Err ( e) = load_and_run_script ( & mut vm, & mut compiler, PRELUDE_PATH , false ) {
276274 eprintln ! ( "{}" , e) ;
277275 return ;
@@ -283,7 +281,7 @@ fn main() {
283281 let is_modular_compiler = filename. contains ( "compiler/" ) && !filename. contains ( "bootstrap/" ) ;
284282
285283 if is_bootstrap {
286- println ! ( " Loading bootstrap compiler modules..." ) ;
284+ // Loading bootstrap compiler modules
287285 for bootstrap_file in BOOTSTRAP_FILES {
288286 if Path :: new ( bootstrap_file) . exists ( ) {
289287 if let Err ( e) = load_and_run_script ( & mut vm, & mut compiler, bootstrap_file, true ) {
@@ -297,7 +295,7 @@ fn main() {
297295 }
298296
299297 if is_modular_compiler {
300- println ! ( " Loading modular compiler modules..." ) ;
298+ // Loading modular compiler modules
301299 for modular_file in MODULAR_COMPILER_FILES {
302300 // Skip the main file being run if it's in the list
303301 if modular_file == filename {
@@ -315,7 +313,6 @@ fn main() {
315313 }
316314
317315 // 3. Load and run the main script
318- println ! ( "Loading main script: {}" , filename) ;
319316 let main_source = match fs:: read_to_string ( filename) {
320317 Ok ( s) => s,
321318 Err ( e) => {
@@ -354,7 +351,6 @@ fn main() {
354351 let script_args: Vec < String > = args[ 2 ..] . to_vec ( ) ;
355352 vm. set_script_args ( script_args) ;
356353
357- println ! ( "Running from offset {}..." , offset) ;
358354 vm. run_event_loop ( ) ;
359355 }
360356 Err ( e) => {
0 commit comments