173 Commits

Author SHA1 Message Date
pikastech
bce7f495c6 use analize_top_package() 2022-06-07 09:27:15 +08:00
pikastech
93f7113139 restore launch.json 2022-06-06 17:00:36 +08:00
pikastech
f888b32e92 fix invalid access when method_arg is void 2022-06-06 14:45:37 +08:00
pikastech
d78d8fa5a9 fix error info of factory in cmodule 2022-06-06 10:09:12 +08:00
pikastech
9ad033123d fix string literal 2022-06-06 09:44:05 +08:00
pikastech
30209aff77 support return Object in CModule 2022-06-06 09:13:27 +08:00
pikastech
604711f708 parse(), print() for cJSON is ok 2022-06-02 16:51:12 +08:00
lyon
2d98f1c63e fix bug: can not run the function defind from module 2022-06-02 15:13:56 +08:00
lyon
c0a925d42d support [:i] and [i:] for str and bytes 2022-05-31 20:17:26 +08:00
lyon
51540da289 fix parse error when '[' inner the string 2022-05-31 13:57:13 +08:00
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