135 Commits

Author SHA1 Message Date
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
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
1a14c82441 fix bug of parser 2022-03-31 14:33:56 +08:00
lyon1998
b46e795b4e release v1.5.4 2022-03-30 20:15:26 +08:00
lyon1998
5154dd5e65 use PIKA_OPTIMIZE == to config OPTIMIZE 2022-03-30 20:12:39 +08:00
lyon1998
26942923bf use static stack instead of link stack 2022-03-30 00:27:04 +08:00
lyon1998
8116f4f48b use '_' to replace 'top' in stack 2022-03-29 22:15:14 +08:00
lyon1998
6e7ffdade1 still faild in pikaMain class_def test 2022-03-29 18:02:55 +08:00
lyon1998
a10e0f9dec support pop push arg stack 2022-03-29 16:59:39 +08:00
lyon1998
53c5535c12 try to use one queue, but faild 2022-03-29 16:41:45 +08:00
lyon1998
691b314557 fix panic when not 4_space 2022-03-28 22:45:29 +08:00
lyon1998
f6da565249 print ins of all line 2022-03-28 22:32:34 +08:00
lyon1998
39022bc0aa fix void line in the middle of python script 2022-03-27 16:39:20 +08:00
lyon1998
e53a0fcd7f update bsp 2022-03-26 21:10:38 +08:00
lyon1998
1f37d0872c fix parser end 2022-03-25 20:21:29 +08:00
lyon1998
44e7f83a9f adding file API 2022-03-18 13:15:44 +08:00
lyon1998
12ed23ddd7 use exist const, fix RET parse format 2022-03-16 14:40:51 +08:00
lyon1998
a868117fbc save bytecode to heap in the first obj_run is ok 2022-03-16 13:42:43 +08:00
lyon1998
d5db14067a use arg_append to save MethodInfo is ok 2022-03-15 17:46:22 +08:00
lyon1998
5a97c8cb96 use byteCode_frame in VMState 2022-03-15 12:31:05 +08:00
lyon1998
5d1b83a417 solve bug when jum to the end 2022-03-14 18:46:57 +08:00
lyon1998
ec4b196195 fix warning 2022-03-13 17:37:50 +08:00
lyon1998
842fc67f23 run byteCodeFrame without jmp is ok 2022-03-13 16:59:01 +08:00
lyon1998
87c30b2cb3 test ins_unit_print ok 2022-03-13 10:24:18 +08:00
lyon1998
fbc88fed2d fix compilerPath from clang to gcc 2022-03-12 20:54:15 +08:00
lyon1998
a4cd654b45 tested ok byteCode_getTotleSize 2022-03-11 17:08:12 +08:00
lyon
716abf833c not use buffs in getNextLine 2022-03-10 18:18:44 +08:00
lyon
0c67a8dafe use memmov ins poptoken 2022-03-09 21:48:58 +08:00