From 981bb70e5077bd30ef85a0092117a875dcc614fc Mon Sep 17 00:00:00 2001 From: Ben Bridle Date: Tue, 14 Oct 2025 20:40:39 +1300 Subject: Implement new intermediate stage Massive improvement. Label references can be used anywhere in the program, with the program being assembled repeatedly until all labels have stabilised. The bytecode stage will just be a tiny stage tacked onto the end, rather than the old bytecode stage that would resolve labels and expressions. --- src/stages/mod.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/stages/mod.rs') diff --git a/src/stages/mod.rs b/src/stages/mod.rs index 571fd65..bf0d5a6 100644 --- a/src/stages/mod.rs +++ b/src/stages/mod.rs @@ -5,8 +5,6 @@ mod semantic; mod semantic_tokens; mod intermediate; mod intermediate_tokens; -mod bytecode; -mod bytecode_tokens; pub use compiler::*; pub use syntactic::*; @@ -15,8 +13,6 @@ pub use semantic::*; pub use semantic_tokens::*; pub use intermediate::*; pub use intermediate_tokens::*; -pub use bytecode::*; -pub use bytecode_tokens::*; #[macro_export] -- cgit v1.2.3-70-g09d2