844 Commits

Author SHA1 Message Date
lyon
18deeaf7a5 direectly conect print to __platform_printf 2022-01-03 21:40:41 +08:00
lyon
11115ded90 add log_buff when printf 2022-01-03 21:12:05 +08:00
Gabriel Wang
dba9737a23 use strchr from libc to improve performance 2021-12-30 19:00:04 +00:00
Gabriel Wang
bc357c0201 Update dataArgs.c 2021-12-30 18:34:45 +00:00
Gabriel Wang
f6e1a3a560 code clean-up
- remove unnecessary goto
- optimize if-else structure
2021-12-30 18:26:18 +00:00
lyon
242550076a use __INS_COMPIRE for instruct 2021-12-31 00:54:48 +08:00
lyon
d6556a7fd7 rename 2021-12-31 00:44:44 +08:00
lyon
d742da8397 format 2021-12-31 00:41:57 +08:00
lyon
c208054618 clear __VM_DEBUG__ micro 2021-12-31 00:40:09 +08:00
lyon
2556ee9388 insturction def not support impl 2021-12-31 00:38:39 +08:00
lyon
2c5b210c63 move __VM_DEBUG__ to pikaConfigValid.h 2021-12-31 00:33:00 +08:00
lyon
20faf70a33 add __instruction_table.cfg 2021-12-31 00:25:57 +08:00
lyon
fbb0624727 rm __instruction_table.h 2021-12-31 00:25:15 +08:00
lyon
fcbf903223 change __instruction_table to .cfg 2021-12-31 00:23:11 +08:00
Gabriel Wang
dbba91a61e minor update 2021-12-30 15:02:40 +00:00
Gabriel Wang
cf3fae7fea introduce VM instruction table 2021-12-30 14:59:33 +00:00
lyon
12eca46834 add comment 2021-12-30 21:39:44 +08:00
lyon
97bdf1b792 add goto for OPT_exit 2021-12-30 21:28:50 +08:00
lyon
74da18bc0b update pikaVM, use instruct table 2021-12-30 21:26:51 +08:00
lyon
d4809161b3 use instuct table is ok 2021-12-30 21:24:06 +08:00
lyon
ada38e15e1 using intruct map 2021-12-30 20:56:41 +08:00
lyon
232112a748 use vmState in VM_runInstruct 2021-12-30 20:49:38 +08:00
lyon
7e3e28c53f use vmState in run_instruct 2021-12-30 20:43:59 +08:00
lyon
8fd2f4ffb5 use VM_state 2021-12-30 20:38:37 +08:00
lyon
01ff2ef66f rename arg and type 2021-12-30 20:06:49 +08:00
lyon
c679f2d0ae use VM_Parameters insteadof Parameters 2021-12-30 19:55:09 +08:00
lyon
d69ccb035d rename __pika_cfg_valied.h to pikaConfigValid.h 2021-12-30 19:39:37 +08:00
lyon
930977b47c not include PLOOC yet 2021-12-30 17:46:42 +08:00
lyon
a8f3450073 remove 3rd-part 2021-12-30 17:44:32 +08:00
Lyon
451ebf01c5
Merge pull request #24 from GorgonMeducer/master
improve VM (CI broken)
2021-12-30 17:02:08 +08:00
lyon
084da065e5 use uintptr_t instead of long 2021-12-30 16:29:12 +08:00
Gabriel Wang
5e985826ab add central configuration and its validation header files 2021-12-29 16:47:45 +00:00
Gabriel Wang
ec2dbecb07 prepare refactory 2021-12-29 16:41:03 +00:00
Gabriel Wang
aabe910134 add submodule for PLOOC 2021-12-29 16:01:23 +00:00
lyon
3032d3d054 break and continue test ok 2021-12-29 22:51:26 +08:00
lyon
dc997361d5 break is ok 2021-12-29 22:47:21 +08:00
lyon
92c8a5f1e5 not pass break test 2021-12-29 22:28:40 +08:00
lyon
723d6ccf5c add instument for BRK and CTN 2021-12-29 21:11:57 +08:00
lyon
fc2e4f2287 parse for continue is ok 2021-12-29 21:10:04 +08:00
lyon
45ee8621cc parse for brk is ok 2021-12-29 21:06:56 +08:00
lyon
57087045c5 remove for_range block 2021-12-29 10:12:48 +08:00
lyon
a70cfd82d1 fix for_for del bug 2021-12-29 10:06:48 +08:00
lyon
5a983ad577 use _r[x] to replase __range[x] to save asm flash 2021-12-29 00:57:08 +08:00
lyon
feb0e9d8f7 use _l[x] instead of __list[x] to save asm flash 2021-12-29 00:55:49 +08:00
lyon
1db1865f5d use arg_strAppend to save memory from 5.8k to 2.2k in 'for range' 2021-12-29 00:52:45 +08:00
lyon
ef0d13c94d add arg_strAppend to save memory when append str 2021-12-29 00:36:13 +08:00
lyon
b778bc2287 save 1K when parse 'for range' 2021-12-29 00:26:36 +08:00
lyon
cbffcb6eec use strs instead of lexer in parser 2021-12-29 00:20:46 +08:00
lyon
65d1251234 add pikaScriptShell in pikaObj 2021-12-28 10:27:49 +08:00
lyon
a1cdd62a31 for_for_range parse error in DEL __list[x] 2021-12-28 09:20:04 +08:00