Update readme, clean up a little

This commit is contained in:
Sofia 2025-07-26 14:03:57 +03:00
parent c316d94b75
commit 0ba1fa90e7
3 changed files with 3 additions and 5 deletions

View File

@ -49,8 +49,8 @@ Currently missing big features (TODOs) are:
- ~~Debug Information~~ (DONE)
- ~~Fix struct initialization (wrong order and missing fields allowed now)~~
- ~~Not-Unary~~
- Importing types from other modules
- Importable binops?
- ~~Importing types from other modules~~
- ~~Importable binops?~~
- Associated functions (for e.g. sizeof)
Big features that I want later but are not necessary:

View File

@ -4,6 +4,6 @@ import std::from_str;
import std::String;
fn main() -> u8 {
print((from_str("hello") + " beep: ") + 1234u64);
print(from_str("hello") + " beep: " + 1234u64);
return 0;
}

View File

@ -319,7 +319,6 @@ impl<'map> Pass for LinkerPass<'map> {
}
for typekey in seen.into_iter() {
dbg!(&typekey);
let mut typedef = imported_mod_typedefs
.iter()
.find(|ty| CustomTypeKey(ty.name.clone(), imported_mod_id) == typekey)
@ -335,7 +334,6 @@ impl<'map> Pass for LinkerPass<'map> {
importer_module.typedefs.push(typedef);
}
dbg!(&importer_module.typedefs);
}
state
.scope