259 Commits

Author SHA1 Message Date
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
lyon
ac4247e5fd use sys_malloc and fix a mem bug 2022-03-09 14:01:35 +08:00
lyon
db8094d9a5 class_def is not passed 2022-03-09 13:22:55 +08:00
lyon
f6533d156b use pointTo instead of GetLastToken 2022-03-09 11:28:09 +08:00
lyon
60dd236d9b use readdocs instead of yuque 2022-03-06 01:40:49 +08:00
lyon
03f5b2cff3 support class def and self 2022-03-02 15:03:11 +08:00
lyon
195bf97fac call global fun tested ok inner class fun 2022-03-02 01:55:11 +08:00
lyon
849b8002b6 class def is nearly ok, pure fun is ok, connot call main fun 2022-03-01 22:45:59 +08:00
lyon
5ef923f3e3 class with attribute tested ok 2022-03-01 20:52:50 +08:00
lyon
78050c35b3 no mem error in NEW obj 2022-03-01 19:13:39 +08:00
lyon
34a0fbbe41 test NEW instruct is ok 2022-03-01 16:13:35 +08:00
lyon
d10c5dbc97 RAS tested ok 2022-03-01 15:01:22 +08:00
lyon
faed85d22e print('test,test') is ok 2022-02-21 17:49:54 +08:00
lyon
12279fa8bc parser.add_a_b is ok 2022-02-21 17:40:26 +08:00
lyon
b66aaf20a9 use parse_state to solve parse process 2022-02-21 15:13:47 +08:00
lyon1998
ff8ce903a0 limit the api of pika_vm 2022-02-14 20:57:15 +08:00
lyon1998
f35b47dfa0 arrange the parse_proprocess 2022-02-14 18:50:08 +08:00
lyon
154ccd8e90 fix bug in remove_annontaion when occor "#" 2022-02-14 03:18:21 +08:00
lyon
e4363d03a2 add PikaDebug 2022-01-28 00:43:09 +08:00
lyon
797607bccf fix queue overpop 2022-01-26 08:38:02 +08:00
lyon
76075564a2 use simu queue again, can not call 2 fun in one line 2022-01-26 00:31:59 +08:00
lyon
8a66d49bd3 use vsnprintf in __plt_sprintf, and add buff cfg 2022-01-25 13:20:12 +08:00
lyon
325a11d3e7 remove argType at the end of content 2022-01-25 08:39:10 +08:00
lyon
a9d1bc372e add GTestTask to test task_period 2022-01-24 19:08:33 +08:00
lyon
372b619a13 task.do_always and task.run_once() is ok 2022-01-20 19:35:55 +08:00
lyon
b182e4af31 __get__ string is ok 2022-01-18 21:55:08 +08:00
lyon
455ba7a565 parse a[b] = c ok 2022-01-17 23:36:36 +08:00