163 Commits

Author SHA1 Message Date
lyon
9ab1c55564 parse for slice is ok 2022-05-30 13:40:50 +08:00
lyon
137b625db8 supporting slice, test pase, function not ok 2022-05-29 14:37:59 +08:00
lyon
43caaac810 add Class utils for stdData, add int_to_bytes() 2022-05-27 17:09:16 +08:00
lyon
74908fa94c fix lexer token index error 2022-05-27 15:42:58 +08:00
lyon
2fa39bb973 check overflow for VM stack 2022-05-27 12:53:27 +08:00
lyon
9d871387dc use Maker to build modules 2022-05-06 18:50:11 +08:00
lyon
61dc2930be const_pool and dynamic_pool tested ok 2022-05-02 19:49:47 +08:00
lyon
44e7f0c738 fix all valgrind mem error 2022-05-02 17:56:38 +08:00
lyon
3fd45abe68 not use 'index' in LibObj 2022-05-01 21:07:41 +08:00
lyon
6d5a7b3aaf compile_link_import ok 2022-05-01 17:08:24 +08:00
lyon
4cad22ebde parse 'import' as operator 2022-05-01 09:41:50 +08:00
lyon
19f0643921 fix clang warning 2022-04-29 12:58:46 +08:00
lyon
a6384c45c8 move main.py to test/python/main.py 2022-04-29 01:17:39 +08:00
lyon
d0aff0c6b3 test compilefile in github server 2022-04-29 00:18:49 +08:00
lyon
bac4c4c90a clear baseobj 2022-04-28 00:17:05 +08:00
lyon
019a3c9b58 rm setting.json 2022-04-27 23:38:47 +08:00
lyon
7f70e2a9df import type() 2022-04-27 23:38:00 +08:00
lyon
15aef30a5f use obj_getObj/getSuperObj 2022-04-27 22:14:56 +08:00
lyon
7aafd3cada deinit free_obj when clear stack 2022-04-26 17:20:08 +08:00
lyon
d463eee7ef format 2022-04-26 14:04:19 +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
lyon
fa8e640829 clean launch.json 2022-04-26 09:24:04 +08:00
lyon
9803b1cf9f gc not pass 2022-04-25 23:38:10 +08:00
lyon1998
0c130716bd add BTY ins to support bytes iteral 2022-04-20 13:21:59 +08:00
lyon1998
be4caeee45 add other ctypes_type, add c_float 2022-04-18 14:16:55 +08:00
lyon1998
933fad80c5 test for args_mem ok 2022-04-18 11:45:59 +08:00
lyon1998
a2bbe2ef5e add ctypes_utils to supply method for ctypes 2022-04-17 22:54:07 +08:00
lyon1998
2c4ec18e06 fix preCompiler for snake case 2022-04-16 11:38:24 +08:00
lyon1998
32cc9d20bd add ctypes package 2022-04-16 00:02:41 +08:00
lyon1998
da538a1a22 add CAN for std device 2022-04-15 14:50:27 +08:00
lyon1998
29d9760256 add SPI to stddevice 2022-04-14 23:13:17 +08:00
lyon1998
920bd7a16a fix parser 2022-04-14 15:12:57 +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
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
3c7ef1a198 deinit method_arg when RUN_exit 2022-04-04 13:32:22 +08:00
lyon1998
1bf4b687ca init freeObj in the constructor 2022-04-03 19:02:19 +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
9e9567dd42 fix '-3+3' error 2022-04-02 22:37:41 +08:00
lyon1998
86316bf5d3 add spped for VMState_getInputArgNum 2022-04-02 16:35:19 +08:00
lyon1998
f05931d320 check inpput arg num when call function 2022-04-02 16:30:36 +08:00