lyon
|
08f227ffbb
|
support annotation for obj_run
|
2021-12-10 20:09:11 +08:00 |
|
lyon
|
2f51367a59
|
check syntax error about branckes
|
2021-12-10 11:41:33 +08:00 |
|
lyon
|
7c9fafafc4
|
suppport or and not
|
2021-11-28 17:26:17 +08:00 |
|
lyon
|
aa0512bd13
|
test parse or is ok
|
2021-11-28 17:06:55 +08:00 |
|
lyon
|
d3889fdb25
|
use lexer to get clean cmd
|
2021-11-28 17:02:27 +08:00 |
|
lyon
|
9304bd0153
|
test <+ and ~ parse
|
2021-11-28 11:51:41 +08:00 |
|
lyon
|
1371aa98c1
|
merge float | float together
|
2021-11-27 21:49:38 +08:00 |
|
lyon
|
31e45abe64
|
debug += for parser
|
2021-11-27 21:22:19 +08:00 |
|
lyon
|
5bf39388c0
|
more operator in parser is ok
|
2021-11-27 21:11:09 +08:00 |
|
lyon
|
1b6994e2fb
|
devide stmt by str is ok
|
2021-11-27 20:49:08 +08:00 |
|
lyon
|
b8c33335bd
|
rename api of Parser
|
2021-11-27 20:21:04 +08:00 |
|
lyon
|
825344910f
|
use lexer to get operator
|
2021-11-27 20:11:35 +08:00 |
|
lyon
|
88009a8713
|
use lexer in stmt_type_match
|
2021-11-27 18:05:32 +08:00 |
|
lyon
|
b24dbc50a6
|
string is ok
|
2021-11-27 17:26:06 +08:00 |
|
lyon
|
e33cc48295
|
add assert
|
2021-11-27 12:03:56 +08:00 |
|
lyon
|
9232ca84dc
|
add and and symbel tokens
|
2021-11-27 12:02:26 +08:00 |
|
lyon
|
7c5b460816
|
, is ok
|
2021-11-27 11:58:15 +08:00 |
|
lyon
|
dd2f4fe27f
|
use tokens_arg instead of buffs to save memory
|
2021-11-27 10:29:47 +08:00 |
|
lyon
|
7f9ea0f6ae
|
num lit and sym is ok
|
2021-11-27 01:13:24 +08:00 |
|
lyon
|
1dedae7101
|
add symbel not ok
|
2021-11-27 00:30:21 +08:00 |
|
lyon
|
e50782cbd0
|
all operator is tested ok for lexer
|
2021-11-26 22:20:49 +08:00 |
|
lyon
|
1d64eb3df8
|
operator is tested ok
|
2021-11-26 22:18:01 +08:00 |
|
lyon
|
a5f2f4565a
|
asser printTokens is ok
|
2021-11-26 20:34:58 +08:00 |
|
lyon
|
a270a01229
|
print tokens is ok
|
2021-11-26 20:33:35 +08:00 |
|
lyon
|
92af6cd31f
|
lex not is ok
|
2021-11-26 20:19:41 +08:00 |
|
lyon
|
f195d6076f
|
debug signed num
|
2021-11-22 17:21:20 +08:00 |
|
lyon1998
|
537bf1aff8
|
def is tested ok for add
|
2021-10-31 21:05:42 +08:00 |
|
lyon1998
|
45c095d71b
|
return void is ok
|
2021-10-31 20:59:14 +08:00 |
|
lyon1998
|
25ed539d1c
|
while return is ok
|
2021-10-31 20:54:26 +08:00 |
|
lyon1998
|
0e469dcc99
|
return a + b is ok
|
2021-10-31 20:48:34 +08:00 |
|
lyon1998
|
ffa9f04708
|
debug unit test
|
2021-10-31 20:13:40 +08:00 |
|
lyon1998
|
469bf9064d
|
RET is ok
|
2021-10-31 20:11:55 +08:00 |
|
pikasTech
|
aaed9eb538
|
parse def to DEF and JMP is ok
|
2021-10-31 16:48:53 +08:00 |
|
lyon1998
|
b57a21c645
|
debug == and = mistack
|
2021-10-25 21:53:35 +08:00 |
|
lyon1998
|
070f9720bf
|
use popTokenWithSkip to solve operation
|
2021-10-21 16:18:14 +08:00 |
|
lyon1998
|
347dd331bb
|
OPT for < and while is ok
|
2021-10-20 22:00:53 +08:00 |
|
lyon1998
|
53ba6273a9
|
++ is ok
|
2021-10-20 21:53:10 +08:00 |
|
lyon1998
|
86f9d08d71
|
1+1 is parsed ok
|
2021-10-20 21:42:32 +08:00 |
|
lyon1998
|
1d5460ee75
|
use stmt type, tested ok
|
2021-10-20 20:34:23 +08:00 |
|
lyon1998
|
8544e91075
|
parse pikapi script succeed in linux
|
2021-10-19 08:27:09 +08:00 |
|
lyon1998
|
2006d7fd45
|
add JMP and JEZ to VM
|
2021-10-17 20:05:47 +08:00 |
|
lyon1998
|
bf59fe1667
|
save ram for multiLine parse
|
2021-10-17 19:35:50 +08:00 |
|
lyon1998
|
46515f6811
|
parse multiline is ok
|
2021-10-17 19:07:33 +08:00 |
|
lyon1998
|
907a92d692
|
if and while is ok
|
2021-10-17 18:16:23 +08:00 |
|
lyon1998
|
825aa9d171
|
if and while is ok
|
2021-10-17 18:08:14 +08:00 |
|
lyon1998
|
e726066156
|
save ram on test
|
2021-10-17 17:57:02 +08:00 |
|
lyon1998
|
dcc944fb57
|
double while is ok
|
2021-10-17 16:14:01 +08:00 |
|
lyon1998
|
b4cd946454
|
parser for while is ok
|
2021-10-16 19:52:19 +08:00 |
|
lyon1998
|
e64656f9ca
|
add blockStack for parse
|
2021-10-16 19:09:19 +08:00 |
|
lyon1998
|
dfe3cecc0d
|
add blockStack
|
2021-10-16 18:39:09 +08:00 |
|