98 Commits

Author SHA1 Message Date
lyon
f94630e75e add weak hock to extern the parse from packages 2021-12-20 15:49:49 +08:00
lyon
20b228e3aa use more warning and debug maybe use uninited 2021-12-19 00:49:43 +08:00
lyon
484b6a1860 support elif and else 2021-12-14 22:17:37 +08:00
lyon
b6bb611d17 REF else[x] is ok 2021-12-14 21:32:53 +08:00
lyon
4f5dedff49 add __else[x] to store else flag 2021-12-14 21:17:36 +08:00
lyon
7d3b2a8c97 adding if and elif 2021-12-14 19:55:33 +08:00
李昂
285daec8f2
update src/PikaParser.c. 2021-12-11 10:19:19 +00:00
lyon
08f227ffbb support annotation for obj_run 2021-12-10 20:09:11 +08:00
pikastech
a5291aaa52 fix ac5 warnings 2021-12-10 16:22:19 +08:00
lyon
2f51367a59 check syntax error about branckes 2021-12-10 11:41:33 +08:00
lyon
41fe410f04 use weak memcpy and memset 2021-12-09 20:04:31 +08:00
lyon
1659e13091 use weak to support stdio 2021-12-07 19:17:36 +08:00
pikastech
aafc990cdf debug warnings in gcc-enbi 2021-12-07 15:14:21 +08:00
lyon
7c9fafafc4 suppport or and not 2021-11-28 17:26:17 +08:00
lyon
d3889fdb25 use lexer to get clean cmd 2021-11-28 17:02:27 +08:00
lyon
12912dd3dc support >= <= for parser 2021-11-27 21:25:45 +08:00
lyon
31e45abe64 debug += for parser 2021-11-27 21:22:19 +08:00
lyon
ba9e5cdc70 add more operators 2021-11-27 21:06:01 +08:00
lyon
1b6994e2fb devide stmt by str is ok 2021-11-27 20:49:08 +08:00
lyon
825344910f use lexer to get operator 2021-11-27 20:11:35 +08:00
lyon
fdf9875b3f use string instead of s 2021-11-27 19:08:20 +08:00
lyon
e142c3fbaf use pool and add pool_size 2021-11-27 19:00:17 +08:00
lyon
88009a8713 use lexer in stmt_type_match 2021-11-27 18:05:32 +08:00
lyon
b24dbc50a6 string is ok 2021-11-27 17:26:06 +08:00
lyon
7c5b460816 , is ok 2021-11-27 11:58:15 +08:00
lyon
dd2f4fe27f use tokens_arg instead of buffs to save memory 2021-11-27 10:29:47 +08:00
lyon
7f9ea0f6ae num lit and sym is ok 2021-11-27 01:13:24 +08:00
lyon
1dedae7101 add symbel not ok 2021-11-27 00:30:21 +08:00
lyon
be9b9839e5 merge operator together 2021-11-26 23:30:23 +08:00
lyon
d7988f594c format 2021-11-26 22:53:19 +08:00
lyon
e50782cbd0 all operator is tested ok for lexer 2021-11-26 22:20:49 +08:00
lyon
1d64eb3df8 operator is tested ok 2021-11-26 22:18:01 +08:00
lyon
d0c147c4af add / 2021-11-26 21:56:46 +08:00
lyon
3042745c24 add * ** *= **= 2021-11-26 21:54:34 +08:00
lyon
a270a01229 print tokens is ok 2021-11-26 20:33:35 +08:00
lyon
92af6cd31f lex not is ok 2021-11-26 20:19:41 +08:00
lyon
db18eeccc0 rename tokentype 2021-11-26 18:59:41 +08:00
lyon
3bdd1f7bcf rename enum of stmt type 2021-11-26 18:59:09 +08:00
lyon
db51f0520a debug signed parse error, add test for signed parse 2021-11-24 11:07:25 +08:00
lyon
e25cbbef92 cmo to com 2021-11-16 08:49:33 +08:00
lyon
669b037519 add MIT license to sorce files 2021-11-16 08:46:44 +08:00
lyon
5316ede928 add Warning flag and solve warnings 2021-11-14 18:39:08 +08:00
lyon
1d542f2839 use one char to str int pointer float type 2021-11-14 12:12:40 +08:00
lyon1998
45c095d71b return void is ok 2021-10-31 20:59:14 +08:00
lyon1998
0e469dcc99 return a + b is ok 2021-10-31 20:48:34 +08:00
lyon1998
469bf9064d RET is ok 2021-10-31 20:11:55 +08:00
pikasTech
aaed9eb538 parse def to DEF and JMP is ok 2021-10-31 16:48:53 +08:00
pikasTech
4e6d66380b change contralflow to block 2021-10-31 16:34:41 +08:00
lyon1998
7c195f7fdb support part asm save 2021-10-27 21:06:52 +08:00
lyon1998
6785c7730d use platform load pikaAsm when save to flash 2021-10-27 16:10:15 +08:00