Commit d27d095
committed
Refactors, bump to 0.1.2
Added "hello" example, essentially dasm's hello world.
Added "print" function and returning expressions to tinylisp.
Refactored function generator to use a build folder rather than a single file.
This was done since some x86 functions are indeed incompatible with amd64, and it's nicer to split up the code regardless since it would be needed with future architectures anyway.
Also fixed my incorrect register names in the examples (rsp/rbp used instead of rsi/rdi).
Apologies for the giant commit, will try to avoid this in the future.1 parent 64ed409 commit d27d095
19 files changed
+471
-430
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
| 43 | + | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
| 47 | + | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments