133 Commits

Author SHA1 Message Date
lyon1998
1df5292130 use printwithconst in bytecode_print 2022-03-16 23:21:55 +08:00
lyon1998
0ebd08e245 add asm to bytecode print 2022-03-16 14:46:23 +08:00
lyon1998
12ed23ddd7 use exist const, fix RET parse format 2022-03-16 14:40:51 +08:00
lyon1998
842fc67f23 run byteCodeFrame without jmp is ok 2022-03-13 16:59:01 +08:00
lyon1998
d83265d345 byteCodePrint is ok 2022-03-13 13:04:07 +08:00
lyon1998
eb35a8c536 byteCodeFrame_print is ok 2022-03-13 13:00:45 +08:00
lyon1998
e73a8d2950 append bytecodeUnit when append byteCodeFrame tested ok 2022-03-13 12:54:44 +08:00
lyon1998
87c30b2cb3 test ins_unit_print ok 2022-03-13 10:24:18 +08:00
lyon1998
7e832dc037 ByteCodeFrame_appendFromAsm for ConstPool is ok 2022-03-12 22:42:25 +08:00
lyon1998
b3d6206c45 get byteCodeUnit and ConstPoolBuff from Asm is ok 2022-03-11 22:50:36 +08:00
lyon
a0cad21ed9 fix -a != 0-a 2022-03-08 12:29:30 +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
78050c35b3 no mem error in NEW obj 2022-03-01 19:13:39 +08:00
lyon
9d57dbd46c add NEW insturction to return a new obj from fun 2022-03-01 11:34:26 +08:00
lyon
f642971dc6 add RAS in parser 2022-03-01 11:26:21 +08:00
lyon
500709b5d2 out to self 2022-03-01 10:52:17 +08:00
lyon
3509d666d8 class_arg test no passed 2022-02-25 18:21:27 +08:00
lyon
3d5e2acf3e parse for class is ok at first 2022-02-25 17:59:32 +08:00
lyon
f3a973c8df save temp 2022-02-25 17:32:51 +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
lyon1998
3627486658 not expose pikaParser api 2022-02-14 20:49:37 +08:00
lyon1998
dbd61b1683 limit api of pikaParser 2022-02-14 20:40:29 +08:00
lyon
154ccd8e90 fix bug in remove_annontaion when occor "#" 2022-02-14 03:18:21 +08:00
lyon
7fb3a49d12 add test for global 2022-01-26 16:23:56 +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
a5896fc40b use asm in stdtask run_once 2022-01-24 20:03:44 +08:00
lyon
6d0a43aa80 add Bx for default RET ins 2022-01-24 00:19:09 +08:00
lyon
0d71929d8d fix ci error of Task 2022-01-23 21:50:05 +08:00
lyon
7a51a5012a use asm in StdTask 2022-01-23 00:04:37 +08:00
lyon
f5fab030c0 update PikaStdTask 2022-01-22 23:49:53 +08:00
lyon
b4e0a1e76b testing call_when 2022-01-20 22:24:08 +08:00
lyon
112a1b0b0d use only PikaAsm in PikaStdTask 2022-01-20 21:59:43 +08:00
lyon
56069510c3 use PikaAsm in Task_Run_Once 2022-01-20 21:50:38 +08:00
lyon
8894e270f3 support s[2] = 'q' 2022-01-18 23:37:48 +08:00
lyon
455ba7a565 parse a[b] = c ok 2022-01-17 23:36:36 +08:00
lyon
6dce7ead45 parse a = b[c+d] + e[f*j] is ok 2022-01-17 21:35:19 +08:00
lyon
d2bd8b44e0 a = b[c+d] is ok 2022-01-17 21:16:51 +08:00
lyon
827c70bb08 parse a = b[c] is ok 2022-01-17 20:25:32 +08:00
lyon
3bdf63379e parse '[' mem check pased 2022-01-16 00:41:59 +08:00
lyon
4d32223746 add some method for token 2022-01-15 22:58:36 +08:00
lyon
3996f188ca test xxx ... pased 2022-01-12 22:41:55 +08:00
lyon
b26ec0d64a add test print('xxx x...') 2022-01-12 22:38:35 +08:00
lyon
f3c6fd7475 parse for in range is tested ok in parser 2022-01-09 23:37:24 +08:00
lyon
08ad5fcf82 support str '==' opeartion 2022-01-09 22:17:17 +08:00
lyon
aebfbc848d use pikaVM_runAsm instead of obj_run in next() and iter() 2022-01-04 15:55:46 +08:00
lyon
42aadd6971 fix del _lx 2022-01-04 11:24:34 +08:00
lyon
fc2e4f2287 parse for continue is ok 2021-12-29 21:10:04 +08:00
lyon
45ee8621cc parse for brk is ok 2021-12-29 21:06:56 +08:00
lyon
a70cfd82d1 fix for_for del bug 2021-12-29 10:06:48 +08:00