Commit graph

120 commits

Author SHA1 Message Date
25969d18c1
indent 2022-12-27 17:22:22 +01:00
146f36772b
add readme to archive 2022-12-27 17:17:56 +01:00
f621e532b2
update tests 2022-12-27 17:07:32 +01:00
fa06482e72
change some variables names so its more readable 2022-12-27 17:07:24 +01:00
9ab686c96e
update 2022-12-23 22:45:20 +01:00
653a3e9665
add disclaimer 2022-12-23 22:42:09 +01:00
87b90e1d54
fix test 35 2022-12-23 06:50:50 +01:00
35cccd3ad5
calculation priority 2022-12-23 06:42:36 +01:00
843ba8b034
fix inline fn args not removed from stack 2022-12-23 06:40:40 +01:00
b74a526b2f
better tests 2022-12-23 05:48:04 +01:00
2a4354eac7
add known issues 2022-12-23 05:17:07 +01:00
90bc6aacff
add parser ml mli to make clean 2022-12-23 05:11:18 +01:00
1687bcc3be
ignore parsers generated files 2022-12-23 05:07:19 +01:00
1305a867f8
use separated list 2022-12-23 05:03:40 +01:00
51150269cc
Add or operator 2022-12-22 19:20:59 +01:00
72d4ab4217
hm we dont care about this 2022-12-22 19:17:24 +01:00
3614712f6f
* add &&
* allow int in cond/loop
2022-12-22 19:15:42 +01:00
a8dfaa4fec
add rem 2022-12-22 16:57:24 +01:00
abf30e8bda
add abs value 2022-12-22 16:51:15 +01:00
122c244abc
remove J instr 2022-12-22 16:44:00 +01:00
fa95a3f071
add some comparisons instructions, and fix older one 2022-12-22 16:07:56 +01:00
338194dadb
multiples args test 2022-12-16 22:13:16 +01:00
3b03e2e0e5
remove ~todo 2022-12-16 13:02:04 +01:00
dc2122e5f8
add factloop from course 2022-12-15 19:39:41 +01:00
a08024d982
todo: alloc 2022-12-14 00:31:50 +01:00
87356531ff
add some tests 2022-12-14 00:31:05 +01:00
8bb03f9dc8
add example from slides 2022-12-14 00:19:26 +01:00
314286bf1e
start strings at 0 2022-12-14 00:01:37 +01:00
14b5950cd4
add == , != , > 2022-12-14 00:01:28 +01:00
9ef121370b
add recursive fn 2022-12-13 23:01:34 +01:00
a01c827935
support negative int 2022-12-13 22:45:43 +01:00
32b3476451
cleaning 2022-12-13 20:46:25 +01:00
2f53bdcab8
loop done 2022-12-13 17:10:27 +01:00
b7a4356326
add while example 2022-12-13 17:10:19 +01:00
8129b36898
* add < to baselib
* loop support
2022-12-13 17:10:14 +01:00
44c18d855e
fix typo 2022-12-13 16:10:45 +01:00
cb3c86e9b1
conditions done 2022-12-13 16:09:45 +01:00
6cd6f66d4b
add tests for conditions 2022-12-13 16:09:32 +01:00
b5d13ab1d6
* add condition
* fn can now return void
* fix a bug in type checking a
* fix a typo in the simplifier (Do/Return)
2022-12-13 16:09:25 +01:00
d8ce94bfa9
string done 2022-12-13 15:02:49 +01:00
a4f2ebcbe5
add example of fn with a mips instr name 2022-12-13 15:02:11 +01:00
c37a7fe1bc
add prefix for user defined fn to avoid conflict with mips instrs 2022-12-13 15:00:39 +01:00
245b7f26fe
add example of string collect 2022-12-13 14:50:26 +01:00
fd6ca52efc
remove data duplicata 2022-12-13 14:50:18 +01:00
f9ef6bc20c
add puts and geti 2022-12-13 14:36:45 +01:00
69e4987d1a
support newlines 2022-12-13 14:36:38 +01:00
5a30902cdb
typo 2022-12-11 23:46:47 +01:00
c9b0b9e64f
add quotes 2022-12-11 03:40:17 +01:00
c79a0f3a33
fix test file 2022-12-11 03:38:02 +01:00
6a4c1744c4
add string support 2022-12-11 03:35:52 +01:00