34 Commits

Author SHA1 Message Date
Lyon
a3a3d8fb75 make all kernal files to be single ascii 2023-08-01 19:44:05 +08:00
Lyon
9bba163ebd support file pre process for run single file 2023-08-01 13:16:22 +08:00
Lyon
8b22298a07 support addIndentMuti for parser 2023-07-25 19:11:14 +08:00
lyon
e32ba87dff fix json parse issue on jsmn and fix compiler 2023-06-21 21:54:30 +08:00
lyon
38388625ca support mark-sweep gc
change project name and url on kernal sources

rename global Value

format name

use g_PikaObjState

add gc chain

add gc_mark()

add printCanFree

add sub locals init

try use mark-sweep to solve circle-ref

use mark sweep to collect circle ref succeed

import mark-sweep GC

config_default

update
2023-03-05 12:57:27 +08:00
lyon
dd61622277 support pwd for runFile 2023-02-08 19:02:34 +08:00
lyon
f92331022c use pika_platform new api and add old api adapter 2022-12-29 18:06:22 +08:00
pikastech
7c6267bfd9 support multi module import parse 2022-10-20 12:55:07 +08:00
pikastech
f5efb11a75 optimize speed for string funs
optimize str sppeed

add prof.sh

not -pg in default
2022-10-06 12:44:40 +08:00
pikastech
e0aae36a1a reduce malloc 2022-10-05 20:36:00 +08:00
李昂
660a97110f !47 not use suger to parse slice
* use __vm_[get/slice] for sysobj
* not use suger in slice
* parser for new slice is ok
* add SLC ins
2022-07-11 06:42:12 +00:00
李昂
76db2494a5 !46 try to support [][], not ok yeat
* fix typo in test
* Merge branch 'master' into slice
* adding slice to parser from suger
2022-07-11 03:14:14 +00:00
李昂
81a5f0b965 !40 support configparser_read_string
* configparser read_string is ok
* support replace() and strip() for StdData.String()
* add file and test of configparser
2022-07-04 07:16:44 +00:00
pikastech
65e6899cc2 support '\n', '\r', '\t' for <STR> instruction 2022-06-09 17:01:55 +08:00
lyon
3fafffee54 fix ac5 gnu extention error 2022-03-23 17:01:14 +08:00
lyon1998
e5cdf022dd restore ac5 fix 2022-03-23 15:52:07 +08:00
lyon
ac33581343 fix ac5 gnu extention 2022-03-23 15:20:40 +08:00
lyon
716abf833c not use buffs in getNextLine 2022-03-10 18:18:44 +08:00
lyon
db8094d9a5 class_def is not passed 2022-03-09 13:22:55 +08:00
lyon
8a6deb7513 use buffs = {0} instead of buffs = New_strBuff() 2022-03-09 12:39:06 +08:00
lyon
5aa5ef6071 support global statement 2022-01-26 23:23:08 +08:00
lyon
56bf2fb32f fix warning in strsReplace 2022-01-15 22:16:57 +08:00
lyon
9194823da2 fix warnings in strsReplace 2022-01-11 12:43:56 +08:00
Lyon
dfffdc2d2e
Update dataStrs.c 2022-01-11 09:38:32 +08:00
lyon
3d556d6b06 support \n \r \t in print() 2022-01-10 21:49:52 +08:00
pikastech
7469b34ec1 fix warnning in ac5 2022-01-07 09:58:07 +08:00
lyon
ef0d13c94d add arg_strAppend to save memory when append str 2021-12-29 00:36:13 +08:00
lyon
1659e13091 use weak to support stdio 2021-12-07 19:17:36 +08:00
root
85a2734462 use pikaplatform.h to include libc 2021-12-07 15:45:38 +08:00
lyon
d3889fdb25 use lexer to get clean cmd 2021-11-28 17:02:27 +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
李昂
5ba762fcec update core to save memory in parse 2021-10-27 15:24:42 +08:00
graduateDesign
9449448756 change example to bsp 2021-10-04 01:08:08 +08:00