424 Commits

Author SHA1 Message Date
lyon
e03af6c5a7 rename __POINTER_ to REF_OBJECT 2022-04-25 14:43:44 +08:00
lyon
2eaea345cc fix args_setBytes mem error 2022-04-23 00:03:20 +08:00
lyon
5ff34bc7d8 fix parse error about [ a = 'num=' ] 2022-04-22 23:43:06 +08:00
lyon1998
f167445b1f add test for from _ import _ as _ 2022-04-21 11:38:12 +08:00
lyon1998
f03208c530 support from import 2022-04-21 11:33:58 +08:00
lyon1998
c256cfcb8f use uint8_t in ctypes 2022-04-20 17:05:21 +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
69730efea4 printBytes is ok 2022-04-20 14:00:05 +08:00
lyon1998
0c130716bd add BTY ins to support bytes iteral 2022-04-20 13:21:59 +08:00
lyon1998
9bbb9e43cd support '\x33' for str 2022-04-19 19:16:53 +08:00
lyon1998
e44f9c2368 Use ArgName Bytes instead of Mem 2022-04-19 18:13:07 +08:00
lyon1998
8d2378251f rename Mem to Bytes 2022-04-19 18:12:07 +08:00
lyon1998
8c41df1ea1 add obj_loadMem API 2022-04-18 16:34:12 +08:00
lyon1998
a2dd87c8a8 add ARG_TYPE_MEM 2022-04-18 12:11:33 +08:00
lyon1998
f23dac8a8a support obj_setMem, obj_getMem, obj_getMemSize API 2022-04-18 12:02:33 +08:00
lyon1998
933fad80c5 test for args_mem ok 2022-04-18 11:45:59 +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
920bd7a16a fix parser 2022-04-14 15:12:57 +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
b42c8c1e6a parse for a = [1, 2, 3] is ok 2022-04-13 19:36:08 +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
2fae86de32 fix error info 2022-04-03 12:55:06 +08:00
lyon1998
ab8c177e00 fixed the '-3-3' bug 2022-04-02 23:32:59 +08:00
lyon1998
7bac0becc9 use arg_foreach in poptoken 2022-04-02 23:28:02 +08:00
lyon1998
c232e8d3fc enhance parser_test 2022-04-02 22:39:43 +08:00
lyon1998
9e9567dd42 fix '-3+3' error 2022-04-02 22:37:41 +08:00
lyon1998
6152c96edf update parse-test 2022-04-02 21:43:32 +08:00
lyon1998
0e2da7bd28 type a then print a is ok 2022-04-02 17:07:35 +08:00
lyon1998
f05931d320 check inpput arg num when call function 2022-04-02 16:30:36 +08:00
lyon1998
723f456f53 test ok for a = (3-4) -4 2022-04-02 15:50:31 +08:00
lyon1998
9dea4765fd reconnize '-' as operator always 2022-04-02 15:48:44 +08:00
lyon1998
85f5265f98 need method for token as unit 2022-04-02 01:54:29 +08:00
lyon1998
dc42b5bc4d solving unused stack args 2022-03-31 20:32:33 +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