Skip to content

Commit

Permalink
Improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert-M-Lucas committed Jun 21, 2024
1 parent 315fcc5 commit 9518062
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 43 deletions.
68 changes: 38 additions & 30 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 1 addition & 9 deletions build/out.asm
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,8 @@ section .text
main:
push rbp
mov rbp, rsp
mov qword [rbp-16], 12
mov rax, rbp
add rax, -16
mov qword [rbp-8], rax
mov qword [rbp-24], 1
mov qword [rbp-8], 1
mov rax, qword [rbp-8]
mov rdx, qword [rbp-24]
add qword [rax], rdx
mov qword [rbp-32], 1
mov rax, qword [rbp-32]
leave
ret

Expand Down
Binary file modified build/out.o
Binary file not shown.
2 changes: 1 addition & 1 deletion main.why
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
fn main() -> int {

return 1;
}
8 changes: 5 additions & 3 deletions todo.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@

- Add dereferencing
- Add array support
- Add struct initialiser support
- Add support for non-toplevel function calling
- Add support for non-inline builtin functions
- Add rich parser errors
- Add all errors in
- All other todos, of course
- Add support for multiple files
- Add support for heap stuff
- All other todos, of course

0 comments on commit 9518062

Please sign in to comment.