440 Commits

Author SHA1 Message Date
lyon1998
2c29722f69 PikaStdData.String('test') is ok 2022-04-04 13:52:00 +08:00
lyon1998
548612e390 use runNativeMethod to run __init__ 2022-04-03 19:18:36 +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
c232e8d3fc enhance parser_test 2022-04-02 22:39:43 +08:00
lyon1998
9e9567dd42 fix '-3+3' error 2022-04-02 22:37:41 +08:00
lyon1998
6152c96edf update parse-test 2022-04-02 21:43:32 +08:00
lyon1998
0e2da7bd28 type a then print a is ok 2022-04-02 17:07:35 +08:00
lyon1998
f05931d320 check inpput arg num when call function 2022-04-02 16:30:36 +08:00
lyon1998
723f456f53 test ok for a = (3-4) -4 2022-04-02 15:50:31 +08:00
lyon1998
9dea4765fd reconnize '-' as operator always 2022-04-02 15:48:44 +08:00
lyon1998
85f5265f98 need method for token as unit 2022-04-02 01:54:29 +08:00
lyon1998
dc42b5bc4d solving unused stack args 2022-03-31 20:32:33 +08:00
lyon1998
abb290595f test a+=1 2022-03-31 15:36:35 +08:00
lyon1998
632b50ad52 support self_operation 2022-03-31 15:33:43 +08:00
lyon1998
0fa4a6a804 self operation ok 2022-03-31 15:29:23 +08:00
lyon1998
1a14c82441 fix bug of parser 2022-03-31 14:33:56 +08:00
lyon1998
6e7961d6bb support multiline comment 2022-03-31 13:36:44 +08:00
lyon1998
2c9bd607ef remove pool platform 2022-03-30 11:36:57 +08:00
lyon1998
26942923bf use static stack instead of link stack 2022-03-30 00:27:04 +08:00
lyon1998
9ea936cf39 fix 'self' arg transfer in obj 2022-03-29 20:34:48 +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
4f48e8eccc improve error info 2022-03-29 15:42:40 +08:00
lyon1998
66a3ae355c update errcode info 2022-03-29 15:29:51 +08:00
lyon1998
1b46cd868c ignore import and from 2022-03-29 15:04:53 +08:00
lyon1998
691b314557 fix panic when not 4_space 2022-03-28 22:45:29 +08:00
lyon1998
f6da565249 print ins of all line 2022-03-28 22:32:34 +08:00
lyon1998
39022bc0aa fix void line in the middle of python script 2022-03-27 16:39:20 +08:00
lyon1998
3a1969fc6d add args_move to transfer arg between args 2022-03-27 15:07:22 +08:00
lyon1998
dae8f38d23 add ByteArray to StdData 2022-03-25 21:18:54 +08:00
lyon1998
1f37d0872c fix parser end 2022-03-25 20:21:29 +08:00
lyon1998
c8a2b11f6c support hex num 2022-03-25 19:47:48 +08:00
lyon1998
ed489e2070 fix '\r' err in pikaRunAsm 2022-03-24 13:55:02 +08:00
lyon1998
a553732ef6 use vmstate to transfer errorcode 2022-03-22 09:56:23 +08:00
lyon1998
ad94b5ce60 not use arg_setSysOut 2022-03-22 09:43:19 +08:00
lyon1998
c9985334cb cancel __init__ test for stddevice 2022-03-20 08:53:08 +08:00
lyon1998
087565af3f add low level method api to up speed 2022-03-19 09:33:40 +08:00
lyon1998
072df471c6 add obj_getNativeMethod API 2022-03-19 09:29:32 +08:00
lyon1998
b254dd02f9 use bytecode in stdlib 2022-03-18 23:00:51 +08:00
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
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