update readme
This commit is contained in:
@@ -3,17 +3,18 @@
|
||||
my child (programming language)
|
||||
|
||||
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`
|
||||
|
||||
currently working!!:
|
||||
- functions (arguments, returning)
|
||||
- assembly blocks (input, output for expression)
|
||||
- kind of structs (construction, field access, but not modifying lmao)
|
||||
- structs (construction, field access, modifying, nesting)
|
||||
|
||||
todo:
|
||||
- generics (groundwork is there I think)
|
||||
- actually handle jumps & LIs that are too large
|
||||
- iterators?
|
||||
- borrow checking
|
||||
- multiple var instances for struct fields / fix all that stuff
|
||||
- basic optimization: use registers, remove temp var moves
|
||||
|
||||
@@ -61,9 +61,6 @@ pub enum IRLInstruction {
|
||||
|
||||
impl IRLInstruction {
|
||||
pub fn is_ret(&self) -> bool {
|
||||
match self {
|
||||
Self::Ret { .. } => true,
|
||||
_ => false,
|
||||
}
|
||||
matches!(self, Self::Ret { .. })
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user