84 Commits

Author SHA1 Message Date
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
lyon
22f6f8e5c5 add test for else 2021-12-14 22:24:18 +08:00
lyon
484b6a1860 support elif and else 2021-12-14 22:17:37 +08:00
lyon
b93bdc7d59 vm equ is ok 2021-11-28 01:21:24 +08:00
lyon
b8c33335bd rename api of Parser 2021-11-27 20:21:04 +08:00
lyon
150c450231 use self as globals 2021-11-23 12:15:12 +08:00
lyon
5316ede928 add Warning flag and solve warnings 2021-11-14 18:39:08 +08:00
lyon
f17457c72e use content to save method_ptr and method_dec 2021-11-14 11:42:13 +08:00
lyon1998
537bf1aff8 def is tested ok for add 2021-10-31 21:05:42 +08:00
pikasTech
aaed9eb538 parse def to DEF and JMP is ok 2021-10-31 16:48:53 +08:00
pikasTech
1da26c1ced DEF add is ok 2021-10-31 16:25:18 +08:00
pikasTech
c84147a098 add locals for runasm line 2021-10-31 11:08:40 +08:00
pikasTech
f578997f2a rename args to pars 2021-10-31 11:05:09 +08:00
pikasTech
582af57772 add globals is ok 2021-10-31 11:01:14 +08:00
pikasTech
96fec2858d add locals for run_insturct 2021-10-31 10:57:05 +08:00
pikasTech
98383a3929 use parameters to save globals and locals 2021-10-31 10:37:22 +08:00
pikasTech
3ffa044c06 rename globalArgs to globals 2021-10-30 22:20:26 +08:00
pikasTech
3878bb23fd rename localArgs to global Args 2021-10-30 22:18:37 +08:00
pikasTech
549d01184f only 60 error to be solve 2021-10-30 22:08:44 +08:00
pikasTech
31d1771dfa use obj to store localArgs 2021-10-30 21:50:20 +08:00
pikasTech
6c1664e37a using local args instead of obj 2021-10-30 20:59:04 +08:00