update readme

This commit is contained in:
2025-04-08 20:25:27 -04:00
parent 920199c567
commit 085139c5ac
2 changed files with 4 additions and 6 deletions

View File

@@ -3,17 +3,18 @@
my child (programming language) my child (programming language)
everything is subject to change rn, and this probably isn't up to date everything is subject to change rn, and this probably isn't up to date
also nothing is super well tested right now so I'm sure there are bugs I don't think exist
`cargo run -- data/test.lang` `cargo run -- data/test.lang`
currently working!!: currently working!!:
- functions (arguments, returning) - functions (arguments, returning)
- assembly blocks (input, output for expression) - assembly blocks (input, output for expression)
- kind of structs (construction, field access, but not modifying lmao) - structs (construction, field access, modifying, nesting)
todo: todo:
- generics (groundwork is there I think)
- actually handle jumps & LIs that are too large - actually handle jumps & LIs that are too large
- iterators? - iterators?
- borrow checking - borrow checking
- multiple var instances for struct fields / fix all that stuff
- basic optimization: use registers, remove temp var moves - basic optimization: use registers, remove temp var moves

View File

@@ -61,9 +61,6 @@ pub enum IRLInstruction {
impl IRLInstruction { impl IRLInstruction {
pub fn is_ret(&self) -> bool { pub fn is_ret(&self) -> bool {
match self { matches!(self, Self::Ret { .. })
Self::Ret { .. } => true,
_ => false,
}
} }
} }