|
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 |
|
|
a8e9f42068
|
no type in fn arg test
|
2022-12-10 16:57:36 +01:00 |
|
|
6a986db046
|
user can now define function!
|
2022-12-10 16:51:15 +01:00 |
|
|
db78e69267
|
use magic type for do
|
2022-12-10 16:49:51 +01:00 |
|
|
c5c2fd2d1c
|
handle non-void fn without return
|
2022-12-10 16:36:41 +01:00 |
|
|
16ee21d6d0
|
stop fn on return
|
2022-12-10 16:28:12 +01:00 |
|
|
c1d7a8e749
|
respect the fn type while return
|
2022-12-10 16:21:26 +01:00 |
|
|
db59e6d084
|
add error messages
|
2022-12-10 16:13:22 +01:00 |
|
|
c0c8880c56
|
handle args count
|
2022-12-10 16:11:37 +01:00 |
|
|
5b915a88e8
|
fix do
|
2022-12-10 16:06:13 +01:00 |
|
|
ea27236f04
|
add sc
|
2022-12-10 15:50:34 +01:00 |
|
|
ceaafba460
|
handle no-main program
|
2022-12-10 15:39:18 +01:00 |
|
|
3e0bfe973e
|
put everything in a main function
|
2022-12-10 15:26:31 +01:00 |
|
|
80eb75e891
|
follow up
|
2022-12-10 15:20:18 +01:00 |
|
|
efb2a79edf
|
compile functions
|
2022-12-10 15:17:40 +01:00 |
|
|
1c1e816457
|
add function semantics
|
2022-12-10 14:57:21 +01:00 |
|
|
7e4d3a3790
|
hide debug parser
|
2022-12-10 14:57:14 +01:00 |
|
|
06ab5bb3c1
|
* update indent
* fix debug semantics
|
2022-12-10 14:07:38 +01:00 |
|
|
6fda9b0e7e
|
update features
|
2022-12-10 13:50:53 +01:00 |
|
|
f34245bbf0
|
add type to args of function
|
2022-12-10 13:49:05 +01:00 |
|
|
ee9eef4b43
|
fix comments
|
2022-12-10 01:59:11 +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 |
|
|
4981d928ef
|
typo
|
2022-12-09 22:33:08 +01:00 |
|
|
6cd78dabaf
|
add void type
|
2022-12-09 22:20:05 +01:00 |
|
|
b1f1dc5aa8
|
ignore .conflicts files
|
2022-12-09 22:14:41 +01:00 |
|
|
41664b64bd
|
add comments
|
2022-12-09 22:14:18 +01:00 |
|
|
f657f8d9d7
|
* add beq and bne
* use optional arg for indentation while formating instructions
|
2022-12-09 22:00:59 +01:00 |
|
|
7a96ca6bf4
|
add hard to do idea
|
2022-12-09 21:51:03 +01:00 |
|
|
be24175a97
|
move all error related stuff to errors.ml file
|
2022-12-09 21:47:22 +01:00 |
|
|
2d94d85562
|
indent
|
2022-12-09 17:04:33 +01:00 |
|
|
72a928a840
|
fix registers
|
2022-12-09 16:58:17 +01:00 |
|
|
ae446ac42f
|
test sub
|
2022-12-09 16:54:30 +01:00 |
|
|
2eb316492c
|
add comment warning about div
|
2022-12-09 16:40:34 +01:00 |
|
|
5ddc80ada2
|
add substraction and division
|
2022-12-09 16:39:44 +01:00 |
|
|
c98231152a
|
add multiplication support
|
2022-12-09 16:12:32 +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 |
|
|
a923bdb6b9
|
fix fmt_instr
|
2022-12-09 14:13:19 +01:00 |
|
|
209d8382e2
|
update features
|
2022-12-09 13:45:03 +01:00 |
|
|
648d10bc99
|
update error messages
|
2022-12-09 13:39:53 +01:00 |
|