remove oldmain.rs
This commit is contained in:
parent
b268544955
commit
489d9886e3
2 changed files with 13 additions and 30 deletions
|
@ -17,6 +17,19 @@ use {
|
||||||
|
|
||||||
mod diagnostic;
|
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)]
|
#[derive(Parser, Debug)]
|
||||||
#[command(version, about, long_about = None)]
|
#[command(version, about, long_about = None)]
|
||||||
struct Args {
|
struct Args {
|
||||||
|
|
|
@ -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);
|
|
||||||
|
|
||||||
}
|
|
Loading…
Reference in a new issue