|
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 |
|
|
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 |
|