diff --git a/ltcc/src/main.rs b/ltcc/src/main.rs index 12992aa..c87c064 100644 --- a/ltcc/src/main.rs +++ b/ltcc/src/main.rs @@ -17,6 +17,19 @@ use { mod diagnostic; + + + +/* TODO: + * - import function symbols (use / import statement) + * - parse float literals + * - return type annotation + * - write to address resulting from expression + * - sized objects + * - typecheck stack + */ + + #[derive(Parser, Debug)] #[command(version, about, long_about = None)] struct Args { diff --git a/ltcc/src/oldmain.rs b/ltcc/src/oldmain.rs deleted file mode 100644 index 5a321aa..0000000 --- a/ltcc/src/oldmain.rs +++ /dev/null @@ -1,30 +0,0 @@ -use { - std::collections::HashMap, - std::sync::{Arc, RwLock}, - std::{boxed::Box, ops::Deref}, - tiny_ansi::TinyAnsi -}; - -use crate::{ - lexer::InputRegionTag, - expr::{LTExpr, Statement}, - procedure_compiler::ProcedureCompiler, - symbols::Scope, -}; - -/* TODO: - * - import function symbols - * - Compiler error reporting - * - parse float literals - * - return type annotation - * - write to address resulting from expression - * - sized objects - * - Typecheck for LTExpr::Application - * - typecheck & inference for rest - */ - -fn main() { - // create virtual machine with 4096 words of memory - let mut vm = tisc::VM::new(0x1000); - -}