Actually just three programming languages in a trenchcoat
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

note down some bugs in tests for later

+21
+3
samples/main_no_exit.tri
··· 1 + proc main!() { 2 + # main is allowed to run off with no value, treated as exit 0 3 + }
+4
samples/main_return.tri
··· 1 + proc main!() { 2 + # return is treated same as exit in main 3 + return 3 4 + }
+14
trilogy/tests/samples.rs
··· 337 337 let mut program = include_tri!("module_params.tri"); 338 338 assert_eq!(program.run().unwrap(), Value::from(8)); 339 339 } 340 + 341 + #[test] 342 + #[ignore = "not yet working"] 343 + fn sample_main_no_exit() { 344 + let mut program = include_tri!("main_no_exit.tri"); 345 + assert_eq!(program.run().unwrap(), Value::from(0)); 346 + } 347 + 348 + #[test] 349 + #[ignore = "not yet working"] 350 + fn sample_main_return() { 351 + let mut program = include_tri!("main_return.tri"); 352 + assert_eq!(program.run().unwrap(), Value::from(3)); 353 + }