507 Commits

Author SHA1 Message Date
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
lyon1998
ac511d6f34 use bytecode in stdtask for all 2022-03-17 17:28:32 +08:00
lyon1998
ff1c71322b update PikaStdTask to bytecode based 2022-03-17 16:47:03 +08:00
lyon1998
494f61a562 bytecodeFrame print as array is ok 2022-03-17 15:43:26 +08:00
lyon1998
c9ec4ba588 print const_pool as array is ok 2022-03-17 14:11:24 +08:00
lyon1998
1df5292130 use printwithconst in bytecode_print 2022-03-16 23:21:55 +08:00
lyon1998
0ebd08e245 add asm to bytecode print 2022-03-16 14:46:23 +08:00
lyon1998
12ed23ddd7 use exist const, fix RET parse format 2022-03-16 14:40:51 +08:00
lyon1998
a868117fbc save bytecode to heap in the first obj_run is ok 2022-03-16 13:42:43 +08:00
lyon1998
66c583218e args_heapStuct is tested ok 2022-03-16 12:16:09 +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
371ccd1c08 clear ran asm directly 2022-03-14 21:18:35 +08:00
lyon1998
66884deb78 clear run as asm 2022-03-14 21:12:32 +08:00
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
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
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
d83265d345 byteCodePrint is ok 2022-03-13 13:04:07 +08:00
lyon1998
eb35a8c536 byteCodeFrame_print is ok 2022-03-13 13:00:45 +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
7e832dc037 ByteCodeFrame_appendFromAsm for ConstPool is ok 2022-03-12 22:42:25 +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
2b02818c9e arg_append any content is ok 2022-03-12 20:52:25 +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