Commit graph

109 commits

Author SHA1 Message Date
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
ed8b504ee9
fix indent 2022-12-11 03:34:01 +01:00
79b9649979
be like pablo because pablo 2022-12-11 02:37:07 +01:00
ee6a10e7a5
simplify the simplifier 2022-12-11 02:36:55 +01:00
add2ae999c
init: simplifier 2022-12-10 17:51:31 +01:00
df8d6e3d3a
fix comment 2022-12-10 17:36:34 +01:00
3790c1216e
random left idk what i am doing anyways warnings are gone 2022-12-10 17:34:56 +01:00
1d18ed8ca5
fix match 2022-12-10 17:25:10 +01:00
c2c6129571
add (in comments) structures 2022-12-10 17:13:55 +01:00
25e9409202
add error message 2022-12-10 17:10:06 +01:00
c8ba7704e4
Add print integer fn 2022-12-10 17:06:08 +01:00
8f94d4673b
hide hard stuff so i keep my spirits up 2022-12-10 17:00:58 +01:00