Commit Graph

33 Commits

Author SHA1 Message Date
MCorange99
747c4e59d4
Merge pull request #1 from mc-lang/refractor
Refractor
2023-03-26 19:36:52 +03:00
MCorange
93e308c0b0 refractor code, seperate instructions from keywords 2023-03-22 14:58:11 +02:00
MCorange
42492ce521 Merge branch 'main' of github.com:mc-lang/mclang2 into refractor 2023-03-21 20:26:57 +02:00
MCorange99
ff62e99302
Update rust.yml
Signed-off-by: MCorange99 <79301995+MCorange99@users.noreply.github.com>
2023-03-21 20:26:11 +02:00
MCorange
15b7113e6a Merge branch 'main' of github.com:mc-lang/mclang2 into refractor 2023-03-21 20:14:21 +02:00
MCorange
0d66ab1009 Cleaned up the code 2023-03-21 20:12:24 +02:00
MCorange99
237d38d405
Create rust.yml 2023-03-21 18:30:05 +02:00
MCorange
5aa2393c8f fix 2023-03-20 19:26:11 +02:00
MCorange
3953cd7ad6 add != >= <= ops and change / to divmod and add int.mcl stdlib entry 2023-03-20 16:53:30 +02:00
MCorange
427f904d0b added chars 2023-03-20 16:33:08 +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
d68b12fdf8 asd 2023-03-19 12:06:43 +02:00
MCorange
e63e9ef891 implemented string literals 2023-03-18 22:46:11 +02:00
MCorange
fed3be5614 introduced notion of a token 2023-03-18 20:21:45 +02:00
MCorange
c34a09fc7a optimise examples/rule110.mcl to match C speed 2023-03-18 19:06:03 +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
2c82aebd60 some docs for devs, added a few examples, implemented syscalls 2023-03-14 21:50:14 +02:00
MCorange
8d72420b04 added @8 and !\8 memory ops 2023-03-14 19:36:30 +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
5ec182ab58 added while loops 2023-03-14 00:43:16 +02:00
MCorange
f9b1184f18 fixed lt and gt 2023-03-13 23:33:06 +02:00
MCorange
b6bbb2d251 added < and > 2023-03-13 23:31:55 +02:00
MCorange
a88e4efff0 added 'dup' 2023-03-13 23:20:35 +02:00
MCorange
6ac45cfcb7 added ifs with else 2023-03-13 23:15:49 +02:00
MCorange
8f91098792 Added Else less if 2023-03-13 17:38:05 +02:00
MCorange
f2b45e343c Added Equals '=' 2023-03-13 16:23:40 +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