Commit Graph

18 Commits

Author SHA1 Message Date
MCorange
9625256554 Added cstrings 2023-04-23 17:51:05 +03:00
MCorange
2d7f302d42 Added function features
Added features:
 - Exported functions (very experimental and disabled by default with
   hardcoded toggle)
 - Inline functions
2023-04-13 04:57:28 +03:00
MCorange
7e46c07cca Finalising functions
typechecking still buggy, but close enough cause i cant handle any more
typechecker dev

added:
 - Functions
 - Constants
 - Better file positions for error reporting
 - Better error reporting, with examples being drawn in term

-MC
2023-04-13 00:34:08 +03:00
MCorange
63636e1f83 not working very well with std lib but working standalone ig 2023-04-11 16:24:52 +03:00
MCorange
9c84033d3f functions 2023-04-04 17:24:58 +03:00
MCorange
f5d8b3ebca implemented local memory 2023-04-01 16:54:02 +03:00
MCorange
09bccc8079 added relative imports 2023-04-01 13:20:35 +03:00
MCorange
0d66ab1009 Cleaned up the code 2023-03-21 20:12:24 +02:00
MCorange
d536bfcf31 started implementing stdlib 2023-03-20 16:13:34 +02:00
MCorange
2d5e94608c added including of files 2023-03-20 14:36:38 +02:00
MCorange
30214808e5 finaly implemented macros properly 2023-03-20 13:39:04 +02:00
MCorange
5cc80619c2 make macros for logger 2023-03-19 13:09:10 +02:00
MCorange
8421fbf379 implement /example/rule110.mcl and fix interpreting syscalls 2023-03-18 18:41:57 +02:00
MCorange
8a53271a91 added like a shit load of math and stack instructions 2023-03-14 23:37:43 +02:00
MCorange
782c3aadde add 'mem' and extent Token to have Token.jmp which is used in if, else, end, while blocks instead of Token.value 2023-03-14 19:01:06 +02:00
MCorange
e053d7bef3 the error reporting is so stupid lmfao 2023-03-13 02:07:43 +02:00
MCorange
0921100d4f finally working again 2023-03-13 02:00:26 +02:00
MCorange
cfcea89dac NOT WORKING initial 2023-03-12 22:51:21 +02:00