|
fa06482e72
|
change some variables names so its more readable
|
2022-12-27 17:07:24 +01:00 |
|
|
843ba8b034
|
fix inline fn args not removed from stack
|
2022-12-23 06:40:40 +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 |
|
|
14b5950cd4
|
add == , != , >
|
2022-12-14 00:01:28 +01:00 |
|
|
8129b36898
|
* add < to baselib
* loop support
|
2022-12-13 17:10:14 +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 |
|
|
c37a7fe1bc
|
add prefix for user defined fn to avoid conflict with mips instrs
|
2022-12-13 15:00:39 +01:00 |
|
|
6a4c1744c4
|
add string support
|
2022-12-11 03:35:52 +01:00 |
|
|
add2ae999c
|
init: simplifier
|
2022-12-10 17:51:31 +01:00 |
|
|
efb2a79edf
|
compile functions
|
2022-12-10 15:17:40 +01:00 |
|
|
828a780f9c
|
WIP Function implementation
* Add basic support of function
* move debug function to test file
* add a test who need to pass to end the implementation
|
2022-12-10 01:55:15 +01:00 |
|
|
6cd78dabaf
|
add void type
|
2022-12-09 22:20:05 +01:00 |
|
|
cf14c64adc
|
add baselib support
|
2022-12-09 14:45:59 +01:00 |
|
|
d433aafc4f
|
wip (fn): add return
|
2022-12-09 14:14:33 +01:00 |
|
|
6f4eb269de
|
add boolean support
|
2022-12-08 21:30:39 +01:00 |
|
|
ca02eb9a3d
|
add variable support
|
2022-12-08 19:55:22 +01:00 |
|
|
b4f384ea76
|
add int into value type in IR
|
2022-12-08 14:04:46 +01:00 |
|
|
47adc5c8ed
|
use ocamlformat
|
2022-12-06 22:22:48 +01:00 |
|
|
1acd0af734
|
add project startup
|
2022-12-06 20:39:15 +01:00 |
|