105 Commits

Author SHA1 Message Date
lyon1998
91cbd117c6 release pikaCompile API 2022-03-18 18:25:44 +08:00
lyon1998
0557df25eb fix warning 2022-03-18 16:17:43 +08:00
lyon1998
16a1f3c4b8 change multiline to file arg sort 2022-03-18 16:12:04 +08:00
lyon1998
6b4e857b76 write to file with user path 2022-03-18 16:09:31 +08:00
lyon1998
21a8f63d92 cancel platform read interface 2022-03-18 16:07:46 +08:00
lyon1998
fc4882ca1f test run save and run bytecode as file 2022-03-18 16:01:52 +08:00
lyon1998
b86f3f46cd parse test for snake_demo is ok 2022-03-18 15:46:13 +08:00
lyon1998
a868117fbc save bytecode to heap in the first obj_run is ok 2022-03-16 13:42:43 +08:00
lyon1998
c970d45f43 task is ok 2022-03-15 18:26:33 +08:00
lyon1998
03ad83a7d9 clear pikaVM_run_config 2022-03-14 21:24:35 +08:00
lyon1998
daa8e01c10 task, class is not ok 2022-03-14 16:00:09 +08:00
lyon1998
25e1a76f02 def for bytecode is ok 2022-03-14 15:56:08 +08:00
lyon1998
c2a459a0ab befor add native_method 2022-03-14 13:43:07 +08:00
lyon1998
dddcc30b44 test for continue and break is ok 2022-03-14 12:12:04 +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
aee0849c8d support obj_run fu defed in the first obj_run 2022-03-08 12:00:50 +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
03f5b2cff3 support class def and self 2022-03-02 15:03:11 +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
3509d666d8 class_arg test no passed 2022-02-25 18:21:27 +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
b66aaf20a9 use parse_state to solve parse process 2022-02-21 15:13:47 +08:00
lyon
eee565ac1d not support obj_no_free 2022-02-13 09:27:02 +08:00
lyon
5aa5ef6071 support global statement 2022-01-26 23:23:08 +08:00
lyon
797607bccf fix queue overpop 2022-01-26 08:38:02 +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
890b35a0b4 use normal list, add fun test 2022-01-25 23:31:21 +08:00
lyon
2c98aa6710 use 50 tick_inc 2022-01-24 19:59:01 +08:00
lyon
c0e572fd81 update PikaStdTask 2022-01-24 19:34:43 +08:00
lyon
a9d1bc372e add GTestTask to test task_period 2022-01-24 19:08:33 +08:00
lyon
f5fab030c0 update PikaStdTask 2022-01-22 23:49:53 +08:00
lyon
18d924efc1 add PikaStdTask() 2022-01-20 19:35:55 +08:00
lyon
372b619a13 task.do_always and task.run_once() is ok 2022-01-20 19:35:55 +08:00
lyon
16e282cf4f support list[], dict[], string[] 2022-01-18 23:51:02 +08:00
lyon
8894e270f3 support s[2] = 'q' 2022-01-18 23:37:48 +08:00
lyon
5b8a41f0d5 res = 'test'[2] is ok 2022-01-18 22:05:34 +08:00
lyon
b182e4af31 __get__ string is ok 2022-01-18 21:55:08 +08:00
lyon
a1d1d12d32 init the mate obj when OUT 2022-01-14 22:38:02 +08:00
lyon
4ed66eb3f4 __set()__ and __get()__ for list, dict ,string ok 2022-01-13 21:56:44 +08:00
lyon
8833e606ab free obj auto when arg is updated 2022-01-13 19:39:05 +08:00
lyon
6d8bba2dcc for in string is ok 2022-01-13 17:07:07 +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
b54cd1ed5a auto convert int args and flot args 2022-01-11 22:22:53 +08:00