68 Commits

Author SHA1 Message Date
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
pikasTech
3914187ba7 use subLocalArgs is ok 2021-10-30 16:51:05 +08:00
pikasTech
b4d077f5d2 use localArgs contain runRes 2021-10-30 16:44:18 +08:00
pikasTech
1b4b39cf15 add comment for INSTRUCT 2021-10-30 12:01:02 +08:00
pikasTech
3f29edf64c def and run vm method is ok 2021-10-30 11:51:04 +08:00
pikasTech
67ba61db3c use localArgs to store run queue 2021-10-30 11:49:55 +08:00
pikasTech
b9adda11b1 RET is ok 2021-10-30 11:08:56 +08:00
pikasTech
a26743cb3b DEF method is ok 2021-10-29 22:13:46 +08:00
pikasTech
aa66c108c7 save B1 to method Ptr in DEF insturct 2021-10-29 21:45:24 +08:00
lyon1998
695554046b debug p0.x = 1 error 2021-10-26 20:50:13 +08:00
lyon1998
845d1fc652 while 1_to 10 isok 2021-10-21 18:38:28 +08:00
lyon1998
d20053516c jjcc is ok 2021-10-21 18:28:52 +08:00
lyon1998
12cf775060 float and int add is ok 2021-10-21 18:07:29 +08:00
lyon1998
12dbd08a9a 1 + 1 is ok 2021-10-21 18:02:11 +08:00
lyon1998
6c7eb7e55a use New_Class() back, and Class()need to be generate 2021-10-18 17:33:55 +08:00
lyon1998
709f9437bf change New_Class() to Class() 2021-10-18 11:33:11 +08:00
lyon1998
03ae5a44c7 test while is ok 2021-10-17 22:38:27 +08:00