From 489d9886e337c30d64e821180a872a2d70e4b845 Mon Sep 17 00:00:00 2001 From: Michael Sippel Date: Fri, 18 Oct 2024 22:05:10 +0200 Subject: [PATCH] remove oldmain.rs --- ltcc/src/main.rs | 13 +++++++++++++ ltcc/src/oldmain.rs | 30 ------------------------------ 2 files changed, 13 insertions(+), 30 deletions(-) delete mode 100644 ltcc/src/oldmain.rs 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); - -}