remove oldmain.rs

This commit is contained in:
Michael Sippel 2024-10-18 22:05:10 +02:00
parent b268544955
commit 489d9886e3
Signed by: senvas
GPG key ID: F96CF119C34B64A6
2 changed files with 13 additions and 30 deletions

View file

@ -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 {

View file

@ -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);
}