104 Commits

Author SHA1 Message Date
lyon1998
69730efea4 printBytes is ok 2022-04-20 14:00:05 +08:00
lyon1998
9bbb9e43cd support '\x33' for str 2022-04-19 19:16:53 +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
0e2da7bd28 type a then print a is ok 2022-04-02 17:07:35 +08:00
lyon1998
723f456f53 test ok for a = (3-4) -4 2022-04-02 15:50:31 +08:00
lyon1998
85f5265f98 need method for token as unit 2022-04-02 01:54:29 +08:00
lyon1998
abb290595f test a+=1 2022-03-31 15:36:35 +08:00
lyon1998
6e7ffdade1 still faild in pikaMain class_def test 2022-03-29 18:02:55 +08:00
lyon1998
53c5535c12 try to use one queue, but faild 2022-03-29 16:41:45 +08:00
lyon1998
28ce70c770 write to byteocode.bin is ok 2022-03-18 15:32:01 +08:00
lyon1998
4881d3f19c add output_redirect_fun for insarray and constpool 2022-03-18 13:44:40 +08:00
lyon1998
ff1c71322b update PikaStdTask to bytecode based 2022-03-17 16:47:03 +08:00
lyon1998
494f61a562 bytecodeFrame print as array is ok 2022-03-17 15:43:26 +08:00
lyon1998
12ed23ddd7 use exist const, fix RET parse format 2022-03-16 14:40:51 +08:00
lyon1998
03ad83a7d9 clear pikaVM_run_config 2022-03-14 21:24:35 +08:00
lyon1998
371ccd1c08 clear ran asm directly 2022-03-14 21:18:35 +08:00
lyon1998
66884deb78 clear run as asm 2022-03-14 21:12:32 +08:00
lyon1998
5d1b83a417 solve bug when jum to the end 2022-03-14 18:46:57 +08:00
lyon1998
48ffadf060 print error info with constPool 2022-03-14 17:48:08 +08:00
lyon1998
dddcc30b44 test for continue and break is ok 2022-03-14 12:12:04 +08:00
lyon1998
86253e9eaf use VMState_method istead of __fun 2022-03-13 19:01:34 +08:00
lyon1998
842fc67f23 run byteCodeFrame without jmp is ok 2022-03-13 16:59:01 +08:00
lyon1998
e73a8d2950 append bytecodeUnit when append byteCodeFrame tested ok 2022-03-13 12:54:44 +08:00
lyon1998
8d5ba40b14 instructArray print is ok 2022-03-13 12:01:25 +08:00
lyon1998
87c30b2cb3 test ins_unit_print ok 2022-03-13 10:24:18 +08:00
lyon1998
7c989a16ca constPool_print is ok 2022-03-12 22:06:38 +08:00
lyon1998
8d234de6ba constPool append tools is ok 2022-03-12 21:55:11 +08:00
lyon1998
b3d6206c45 get byteCodeUnit and ConstPoolBuff from Asm is ok 2022-03-11 22:50:36 +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
624ee16b59 setData and getData in byteCodeUnit is ok 2022-03-10 17:28:29 +08:00
lyon
b6e323e8fa add byteCodeUnit and tested set/get 2022-03-10 17:08:15 +08:00
lyon
a0cad21ed9 fix -a != 0-a 2022-03-08 12:29:30 +08:00
lyon
fd26a79fc8 rename TYPE_X to ARG_TYPE_X 2022-03-02 10:34:33 +08:00
lyon
7692d38928 improve test 2022-03-01 20:55:06 +08:00
lyon
5ef923f3e3 class with attribute tested ok 2022-03-01 20:52:50 +08:00
lyon
4bcdf43154 test NEW obj in DEF is ok, RAS in DEF not ok 2022-03-01 19:21:39 +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
1291483369 add PikaObj for PikaStdLib 2022-02-25 18:05:54 +08:00
lyon
ba1c61293b rename 2022-02-22 00:41:45 +08:00
lyon1998
ff8ce903a0 limit the api of pika_vm 2022-02-14 20:57:15 +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
c679f2d0ae use VM_Parameters insteadof Parameters 2021-12-30 19:55:09 +08:00
lyon
917ae2515f EST is testd ok in asm 2021-12-24 21:59:00 +08:00