structs r a lot more sane in code, can now actually assign & stuff

This commit is contained in:
2025-04-08 20:00:16 -04:00
parent cb9a366f43
commit 26e7a4da4a
21 changed files with 405 additions and 197 deletions

19
README.md Normal file
View File

@@ -0,0 +1,19 @@
# the
my child (programming language)
everything is subject to change rn, and this probably isn't up to date
`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)
todo:
- 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