86 Commits

Author SHA1 Message Date
pikasTech
88471a15e7 debug obj run 2021-10-30 22:29:10 +08:00
pikasTech
3ffa044c06 rename globalArgs to globals 2021-10-30 22:20:26 +08:00
pikasTech
3878bb23fd rename localArgs to global Args 2021-10-30 22:18:37 +08:00
pikasTech
ada7a3c96f obj_run bugs need to solve 2021-10-30 22:13:25 +08:00
pikasTech
549d01184f only 60 error to be solve 2021-10-30 22:08:44 +08:00
pikasTech
31d1771dfa use obj to store localArgs 2021-10-30 21:50:20 +08:00
pikasTech
6c1664e37a using local args instead of obj 2021-10-30 20:59:04 +08:00
pikasTech
3914187ba7 use subLocalArgs is ok 2021-10-30 16:51:05 +08:00
pikasTech
b4d077f5d2 use localArgs contain runRes 2021-10-30 16:44:18 +08:00
pikasTech
1b4b39cf15 add comment for INSTRUCT 2021-10-30 12:01:02 +08:00
pikasTech
3f29edf64c def and run vm method is ok 2021-10-30 11:51:04 +08:00
pikasTech
67ba61db3c use localArgs to store run queue 2021-10-30 11:49:55 +08:00
pikasTech
b9adda11b1 RET is ok 2021-10-30 11:08:56 +08:00
pikasTech
a26743cb3b DEF method is ok 2021-10-29 22:13:46 +08:00
pikasTech
aa66c108c7 save B1 to method Ptr in DEF insturct 2021-10-29 21:45:24 +08:00
lyon1998
695554046b debug p0.x = 1 error 2021-10-26 20:50:13 +08:00
lyon1998
b57a21c645 debug == and = mistack 2021-10-25 21:53:35 +08:00
lyon1998
845d1fc652 while 1_to 10 isok 2021-10-21 18:38:28 +08:00
lyon1998
d20053516c jjcc is ok 2021-10-21 18:28:52 +08:00
lyon1998
12cf775060 float and int add is ok 2021-10-21 18:07:29 +08:00
lyon1998
12dbd08a9a 1 + 1 is ok 2021-10-21 18:02:11 +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
2782485553 test obj_run multi line 2021-10-19 11:03:54 +08:00
lyon1998
8544e91075 parse pikapi script succeed in linux 2021-10-19 08:27:09 +08:00
lyon1998
4e12ab9193 use multiLine in pikascript init, tested ok 2021-10-18 21:34:47 +08:00
lyon1998
be190b34b7 cancel contral extern hock 2021-10-18 20:49:14 +08:00
lyon1998
d7bbd6c23b add pikaMain-test.cpp 2021-10-18 20:47:31 +08:00
lyon1998
6c7eb7e55a use New_Class() back, and Class()need to be generate 2021-10-18 17:33:55 +08:00
lyon1998
8bac0f937b all test passed for new agrathem of ne_obj 2021-10-18 16:38:50 +08:00
lyon1998
4c6ec93f41 args_set can update type 2021-10-18 16:08:28 +08:00
lyon1998
95cfbf6caa obj.set and args_set is not needed any more 2021-10-18 15:09:30 +08:00
lyon1998
709f9437bf change New_Class() to Class() 2021-10-18 11:33:11 +08:00
lyon1998
e5408deb06 new Obj by fun directly, not class loader 2021-10-18 09:55:09 +08:00
lyon1998
03ae5a44c7 test while is ok 2021-10-17 22:38:27 +08:00
lyon1998
d1ed706b46 jump back is ok 2021-10-17 22:24:20 +08:00
lyon1998
3b401c295e test for JEZ and JMP is ok 2021-10-17 22:18:20 +08:00
lyon1998
3e1a279c86 supporting JMP for vm 2021-10-17 20:58:27 +08:00
lyon1998
c2a37faf47 test JMP for asm line is ok 2021-10-17 20:34:40 +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