293 Commits

Author SHA1 Message Date
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
lyon1998
d7bbd6c23b add pikaMain-test.cpp 2021-10-18 20:47:31 +08:00
lyon1998
47d8e20687 add package object for pikaMain 2021-10-18 20:43:16 +08:00
lyon1998
355845c136 Class() is ok, not tested yeat 2021-10-18 18:00:54 +08:00
lyon1998
017cc1848b add format of Class() 2021-10-18 17:53:16 +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
ad92680cc3 add class as method of pacakge is ok 2021-10-18 11:19:47 +08:00
lyon1998
5c4f05f1d0 add Pacakge_now class 2021-10-18 10:58:37 +08:00
lyon1998
d6ebc6b11e adding package class 2021-10-18 10:52:42 +08:00
lyon1998
cf480c2b85 solve import in main.py as new_package_Obj 2021-10-18 10:23:54 +08:00
lyon1998
4034383f13 ready build NewObj method and package object 2021-10-18 10:06:31 +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
faed5a9ff6 change test.sh to gtest.sh 2021-10-17 18:27:46 +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
a119401b65 test stack for str is ok 2021-10-16 18:59:46 +08:00
lyon1998
dfe3cecc0d add blockStack 2021-10-16 18:39:09 +08:00
lyon1998
e6c8e23f56 supporting contral in pikaParser 2021-10-16 17:48:01 +08:00
lyon1998
aa5c6cebdc add Bx blockDeepth for each py line 2021-10-16 17:32:02 +08:00
lyon1998
208b61ee8c remove no used file 2021-10-15 11:26:21 +08:00
lyon1998
0e79ffe99a test for sysout is ok 2021-10-15 11:20:07 +08:00
lyon1998
978b733ca1 supporting sysRes for VM 2021-10-15 11:00:13 +08:00
lyon1998
626fa3c9a6 use VM_run instead of invoke, sysOut is not supported 2021-10-14 23:55:35 +08:00
lyon1998
23094dc2e9 pikaVM run is tested ok 2021-10-14 23:45:36 +08:00
lyon1998
966f445a33 VM run is tested ok 2021-10-14 23:39:24 +08:00
lyon1998
5bcc05a311 debuging RUN 2021-10-14 23:22:48 +08:00
lyon1998
c6dec36080 test VM REF 2021-10-14 23:03:31 +08:00
lyon1998
71bb89eb0c REF is tested ok 2021-10-14 22:54:46 +08:00
lyon1998
edf3552aeb STR is ok 2021-10-14 21:02:19 +08:00
lyon1998
73dbf66cbe cancel gtest filter 2021-10-14 20:52:07 +08:00
lyon1998
2adaedf2a6 test a = 1.1 ok 2021-10-14 20:49:43 +08:00