61 Commits

Author SHA1 Message Date
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
lyon1998
7121143649 save single pikaAsm instad of totle pikaAsm 2021-10-27 16:08:36 +08:00
lyon1998
2b175bef1a use __platformSavePikaAsm to save singleAsm 2021-10-27 16:07:26 +08:00
lyon1998
aafa703e03 add isToFlash to saveSingleAsm 2021-10-27 16:02:15 +08:00
lyon1998
6f37568ba7 use saveSingleAsm 2021-10-27 15:57:49 +08:00
lyon1998
8e0a38447f use saveAsm and outAsm is ok 2021-10-27 15:56:25 +08:00
lyon1998
75be7310e8 debug more B0 when parse multiLine 2021-10-27 15:44:35 +08:00
李昂
5ba762fcec update core to save memory in parse 2021-10-27 15:24:42 +08:00
lyon1998
b57a21c645 debug == and = mistack 2021-10-25 21:53:35 +08:00
lyon1998
070f9720bf use popTokenWithSkip to solve operation 2021-10-21 16:18:14 +08:00
lyon1998
347dd331bb OPT for < and while is ok 2021-10-20 22:00:53 +08:00
lyon1998
53ba6273a9 ++ is ok 2021-10-20 21:53:10 +08:00
lyon1998
86f9d08d71 1+1 is parsed ok 2021-10-20 21:42:32 +08:00
lyon1998
312a2b2214 add operator to parse tree 2021-10-20 21:33:16 +08:00
lyon1998
00819a2c49 add str_deleteBetween 2021-10-20 21:21:03 +08:00
lyon1998
a0325d176c adding operator 2021-10-20 21:06:13 +08:00
lyon1998
ec2ac14599 use stmt type 2021-10-20 20:40:45 +08:00
lyon1998
7b816b1546 test for py script from uart is ok 2021-10-19 22:26:34 +08:00
lyon1998
146166fd29 debug core by keil 2021-10-19 09:13:10 +08:00
lyon1998
6c7eb7e55a use New_Class() back, and Class()need to be generate 2021-10-18 17:33:55 +08:00
lyon1998
709f9437bf change New_Class() to Class() 2021-10-18 11:33:11 +08:00
lyon1998
e5408deb06 new Obj by fun directly, not class loader 2021-10-18 09:55:09 +08:00
lyon1998
44db8ec824 uptimized multiLine to asm 2021-10-17 19:39:53 +08:00
lyon1998
bf59fe1667 save ram for multiLine parse 2021-10-17 19:35:50 +08:00
lyon1998
46515f6811 parse multiline is ok 2021-10-17 19:07:33 +08:00
lyon1998
825aa9d171 if and while is ok 2021-10-17 18:08:14 +08:00
lyon1998
781ac66a5e update src 2021-10-17 16:19:43 +08:00
lyon1998
b4cd946454 parser for while is ok 2021-10-16 19:52:19 +08:00
lyon1998
e64656f9ca add blockStack for parse 2021-10-16 19:09:19 +08:00
lyon1998
a119401b65 test stack for str is ok 2021-10-16 18:59:46 +08:00
lyon1998
dfe3cecc0d add blockStack 2021-10-16 18:39:09 +08:00
lyon1998
f2b4c56977 check null in strEqu 2021-10-16 18:13:52 +08:00
lyon1998
e6c8e23f56 supporting contral in pikaParser 2021-10-16 17:48:01 +08:00
lyon1998
aa5c6cebdc add Bx blockDeepth for each py line 2021-10-16 17:32:02 +08:00
lyon1998
c5540fb5f4 debug NUM and OUT for parser 2021-10-14 15:50:42 +08:00
lyon1998
141243b956 support NUM in parser 2021-10-14 15:08:45 +08:00
lyon1998
d46112705f parse to asm direct 2021-10-14 10:44:59 +08:00
lyon1998
db928b1ec1 free ram after parse 2021-10-14 10:05:55 +08:00