620 Commits

Author SHA1 Message Date
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
0c67a8dafe use memmov ins poptoken 2022-03-09 21:48:58 +08:00
lyon
167b36b106 fix release PikaStdDevicev1.4.4 pikaRTThread v1.1.1 pikaRTDevice==v1.0.0 2022-03-09 20:41:47 +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
8a6deb7513 use buffs = {0} instead of buffs = New_strBuff() 2022-03-09 12:39:06 +08:00
lyon
f6533d156b use pointTo instead of GetLastToken 2022-03-09 11:28:09 +08:00
lyon
943e9f48b4 add benchmark/pika_config.h 2022-03-09 10:21:26 +08:00
lyon
8dea406b6d use pika_config in benchmark 2022-03-09 10:21:10 +08:00
lyon
a0cad21ed9 fix -a != 0-a 2022-03-08 12:29:30 +08:00
lyon
aee0849c8d support obj_run fu defed in the first obj_run 2022-03-08 12:00:50 +08:00
lyon
60dd236d9b use readdocs instead of yuque 2022-03-06 01:40:49 +08:00
lyon
3b9dcd1b0c derive of class demo is passed 2022-03-02 15:48:27 +08:00
lyon
ea78cabb5f support 2022-03-02 15:43:27 +08:00
lyon
ee91552bbb pass class demo 1, run.sh not pass 2022-03-02 15:37:17 +08:00
lyon
e6002621bf main.py test in run.py no pass 2022-03-02 15:24:46 +08:00
lyon
03f5b2cff3 support class def and self 2022-03-02 15:03:11 +08:00
lyon
fd26a79fc8 rename TYPE_X to ARG_TYPE_X 2022-03-02 10:34:33 +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
47905a12c9 add pikaMain to test class attribute 2022-03-01 20:57:04 +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
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
9cf1ae46ad restore Dict.c 2022-02-25 18:07:03 +08:00
lyon
1291483369 add PikaObj for PikaStdLib 2022-02-25 18:05:54 +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
ba1c61293b rename 2022-02-22 00:41:45 +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
3832c509ee run asm in benchmark 2022-02-21 16:16:18 +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
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
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
eee565ac1d not support obj_no_free 2022-02-13 09:27:02 +08:00