141 Commits

Author SHA1 Message Date
lyon
ba11251d6d support deinit no ref object 2022-04-26 12:23:39 +08:00
lyon
cd82162e6e all tests passed 2022-04-26 12:15:07 +08:00
lyon
00987b8b23 solve MATE_OBJ GC error 2022-04-26 11:59:54 +08:00
lyon
df0db6a390 combine object and ref object 2022-04-26 10:43:50 +08:00
lyon
16886ec594 remove '__res' after run __iter__() 2022-04-26 10:12:34 +08:00
lyon
9b1e6a323a list_iter not ok 2022-04-26 10:06:15 +08:00
lyon1998
09d7e53fa4 print the test py 2022-04-20 14:55:26 +08:00
lyon1998
41f270e053 test for ctypes is ok 2022-04-20 14:51:38 +08:00
lyon1998
f6f38bdb73 fix typo of list_enable and dict_enable 2022-04-14 16:37:34 +08:00
lyon1998
eae58359f1 set enable builtin list as default 2022-04-14 15:58:24 +08:00
lyon1998
d979c2876d test for 'x = [1,2,3]' is ok 2022-04-14 13:10:34 +08:00
lyon1998
fc149a476d get args in LST is ok 2022-04-13 20:19:52 +08:00
lyon1998
52e69f45a7 support built-in list and dict 2022-04-13 12:03:10 +08:00
lyon1998
7e876c9799 support TinyObj for class runtime-define 2022-04-11 22:40:42 +08:00
lyon1998
6f02b3aa94 add test for class_in_shell 2022-04-11 22:31:36 +08:00
lyon1998
cd5c62c167 support defination for def and class 2022-04-11 22:27:18 +08:00
lyon1998
8bca6183b8 support def and class in shell 2022-04-11 21:52:39 +08:00
lyon1998
748fe43ada format the error info of not 4N spaces 2022-04-11 17:53:17 +08:00
lyon1998
1125cf3bfb add error info for 'not 4 spaces' 2022-04-09 09:04:38 +08:00
lyon1998
757f00893a support len() for string, support int() for string 2022-04-09 01:15:21 +08:00
lyon1998
9b15b16082 handle class(...) args num error 2022-04-05 13:12:04 +08:00
lyon1998
3fc067391b test arg num err in function 2022-04-04 23:59:33 +08:00
lyon1998
f438446313 support navite constructor method 2022-04-04 15:16:27 +08:00
lyon1998
2c29722f69 PikaStdData.String('test') is ok 2022-04-04 13:52:00 +08:00
lyon1998
548612e390 use runNativeMethod to run __init__ 2022-04-03 19:18:36 +08:00
lyon1998
abb290595f test a+=1 2022-03-31 15:36:35 +08:00
lyon1998
632b50ad52 support self_operation 2022-03-31 15:33:43 +08:00
lyon1998
0fa4a6a804 self operation ok 2022-03-31 15:29:23 +08:00
lyon1998
9ea936cf39 fix 'self' arg transfer in obj 2022-03-29 20:34:48 +08:00
lyon1998
6e7ffdade1 still faild in pikaMain class_def test 2022-03-29 18:02:55 +08:00
lyon1998
691b314557 fix panic when not 4_space 2022-03-28 22:45:29 +08:00
lyon1998
dae8f38d23 add ByteArray to StdData 2022-03-25 21:18:54 +08:00
lyon1998
c8a2b11f6c support hex num 2022-03-25 19:47:48 +08:00
lyon1998
c9985334cb cancel __init__ test for stddevice 2022-03-20 08:53:08 +08:00
lyon1998
087565af3f add low level method api to up speed 2022-03-19 09:33:40 +08:00
lyon1998
072df471c6 add obj_getNativeMethod API 2022-03-19 09:29:32 +08:00
lyon1998
91cbd117c6 release pikaCompile API 2022-03-18 18:25:44 +08:00
lyon1998
0557df25eb fix warning 2022-03-18 16:17:43 +08:00
lyon1998
16a1f3c4b8 change multiline to file arg sort 2022-03-18 16:12:04 +08:00
lyon1998
6b4e857b76 write to file with user path 2022-03-18 16:09:31 +08:00
lyon1998
21a8f63d92 cancel platform read interface 2022-03-18 16:07:46 +08:00
lyon1998
fc4882ca1f test run save and run bytecode as file 2022-03-18 16:01:52 +08:00
lyon1998
b86f3f46cd parse test for snake_demo is ok 2022-03-18 15:46:13 +08:00
lyon1998
a868117fbc save bytecode to heap in the first obj_run is ok 2022-03-16 13:42:43 +08:00
lyon1998
c970d45f43 task is ok 2022-03-15 18:26:33 +08:00
lyon1998
03ad83a7d9 clear pikaVM_run_config 2022-03-14 21:24:35 +08:00
lyon1998
daa8e01c10 task, class is not ok 2022-03-14 16:00:09 +08:00
lyon1998
25e1a76f02 def for bytecode is ok 2022-03-14 15:56:08 +08:00
lyon1998
c2a459a0ab befor add native_method 2022-03-14 13:43:07 +08:00
lyon1998
dddcc30b44 test for continue and break is ok 2022-03-14 12:12:04 +08:00