Commit graph

22 commits

Author SHA1 Message Date
51150269cc
Add or operator 2022-12-22 19:20:59 +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
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
a01c827935
support negative int 2022-12-13 22:45:43 +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
69e4987d1a
support newlines 2022-12-13 14:36:38 +01:00
6a4c1744c4
add string support 2022-12-11 03:35:52 +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
be24175a97
move all error related stuff to errors.ml file 2022-12-09 21:47:22 +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
6f4eb269de
add boolean support 2022-12-08 21:30:39 +01:00
ab6e8c466b
add comments support 2022-12-08 21:29:42 +01:00
ca02eb9a3d
add variable support 2022-12-08 19:55:22 +01:00
1acd0af734
add project startup 2022-12-06 20:39:15 +01:00