139 Commits

Author SHA1 Message Date
lyon1998
ce3df083b6 debug connot find object when run method of locals.obj 2021-11-03 21:28:37 +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
pikasTech
1da26c1ced DEF add is ok 2021-10-31 16:25:18 +08:00
pikasTech
c84147a098 add locals for runasm line 2021-10-31 11:08:40 +08:00
pikasTech
f578997f2a rename args to pars 2021-10-31 11:05:09 +08:00
pikasTech
582af57772 add globals is ok 2021-10-31 11:01:14 +08:00
pikasTech
96fec2858d add locals for run_insturct 2021-10-31 10:57:05 +08:00
pikasTech
98383a3929 use parameters to save globals and locals 2021-10-31 10:37:22 +08:00
pikasTech
69acf27ab3 local arg can be used in multiLine obj run 2021-10-31 10:02:55 +08:00
lyon1998
0f4c55ab9d all test passed for globls 2021-10-31 00:04:00 +08:00
lyon1998
b432190c3b obj test is ok 2021-10-31 00:02:27 +08:00
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
75be7310e8 debug more B0 when parse multiLine 2021-10-27 15:44:35 +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
a0325d176c adding operator 2021-10-20 21:06:13 +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
73d861ab4f update pikaStdLib 2021-10-18 21:47:53 +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