644 Commits

Author SHA1 Message Date
Lyon
9b64b84f82 support zlib package and tests 2023-07-06 02:39:57 +08:00
Lyon
129b2b95c8 support tuple(), '^', and more self-opt 2023-06-29 01:03:26 +08:00
Lyon
21155bfbb3 fix and move to '/pikafs/xxx' from 'pikafs/xxx' 2023-06-28 22:15:39 +08:00
Lyon
8be2de2ba9 fix work scope for eval() and exec() 2023-06-24 19:15:07 +08:00
Lyon
90a034533b copy cjson to json module, parse backend use cjson 2023-06-22 17:17:47 +08:00
lyon
e32ba87dff fix json parse issue on jsmn and fix compiler 2023-06-21 21:54:30 +08:00
lyon
0db9ff7c8c fix thread create bug for freeRTOS 2023-06-18 02:57:49 +08:00
lyon
f10c3235bc fix json.loads() with empty object 2023-06-18 00:14:03 +08:00
lyon
efb0aa4e8e json.dumps speed enhanced 100+ times 2023-06-18 00:03:16 +08:00
lyon
3dc892904f support jsmn engin, faster 22 times than cjson 2023-06-17 14:56:39 +08:00
lyon
4a80729460 add press test for event_thread, cq full broken 2023-06-10 12:39:19 +08:00
lyon
aeb7c0e8d0 use new pika_event api 2023-06-10 01:47:11 +08:00
lyon
38ebd04cac sync fixs for kernal and std libs 2023-06-08 23:52:17 +08:00
lyon
93a46c3f58 fix always run the same task inner eventloop 2023-06-08 22:41:04 +08:00
lyon
3778a36a49 fix time.sleep() thread switch with small time 2023-06-07 13:41:48 +08:00
lyon
7001eb846e support FILEIO_readline for any size of line 2023-06-06 03:28:21 +08:00
lyon
41cb54ecb0 support bytearray() builtin 2023-05-29 12:09:23 +08:00
lyon
892ae61a20 support bytearray builtin 2023-05-29 10:18:52 +08:00
pikastech
ad3b22f0f3 fix builtins namespace conflic with module 2023-05-22 09:53:50 +08:00
lyon
8f74b8ea53 add builtins.pyi for PikaStdLib 2023-05-21 22:36:47 +08:00
lyon
b49cb51de3 support isinstance() builtin 2023-05-21 21:05:17 +08:00
lyon
c823ad0879 support isinstance() for simple type 2023-05-21 01:19:13 +08:00
lyon
03e6b89980 support lua table to list/dict 2023-05-14 22:50:24 +08:00
lyon
d403603296 fix pika_lua close() 2023-05-14 13:04:33 +08:00
lyon
bb21c7b7fe support method_proxy for pika_lua 2023-05-14 12:57:24 +08:00
lyon
c1ac93019e restore kernal 2023-05-14 11:17:07 +08:00
lyon
6f7cf36574 support get return value for pika_lua.eval 2023-05-14 10:39:43 +08:00
pikastech
bf129bb398 fix parse err for 'test'.split()[0]
add test
2023-05-05 21:47:52 +08:00
pikastech
4e9816f9a1 support max(), min() builtin 2023-05-02 23:54:11 +08:00
pikastech
f6d8001f37 support string.find() 2023-04-27 19:44:51 +08:00
pikastech
09dfed3f20 support single_item tuple like (1,) or ('test',)
fix format
2023-04-24 22:30:37 +08:00
pikastech
11080aa513 add circlequeue.py 2023-04-23 20:55:20 +08:00
pikastech
3d7a087598 add abs() builtin 2023-04-22 18:46:45 +08:00
pikastech
c487912fc5 cancel GIL yiled between bc to avoid data race 2023-04-22 13:46:59 +08:00
lyon
6d3d8b3658 support delay for eventloop 2023-04-21 01:06:02 +08:00
pikastech
70aabb81ad fix thread and eventloop for onec args 2023-04-20 19:26:04 +08:00
pikastech
9b140e90a3 add eventloop module, support get_tick for _time 2023-04-20 17:06:16 +08:00
pikastech
a468012f2f fix __setattr__ mem leak when @value is not reg 2023-04-19 22:24:10 +08:00
pikastech
270f476dec support parity, databits and stopbits for std uart 2023-04-17 21:38:43 +08:00
pikastech
ed7f63cf1d support defualt value and set timezone for time 2023-04-17 21:36:42 +08:00
pikastech
3fef8ec3f9 _thread support setup the stack_size 2023-04-17 09:42:28 +08:00
pikastech
0285c19abd support check if thread create succeed 2023-04-16 18:34:11 +08:00
pikastech
df7d291dbc fix event thread GIL error 2023-04-16 13:36:07 +08:00
pikastech
42c85835d0 add thread_delay for run_until 2023-04-16 10:59:15 +08:00
pikastech
5ea62ce9e0 support platform_get_tick and thread_delay for stdtask 2023-04-16 10:57:54 +08:00
pikastech
ea4d42bbea fix thread mem error when args is void 2023-04-15 11:20:11 +08:00
pikastech
c89f873fab optimize for pure string on printf
support unlimited pika_printf impl
2023-04-14 19:42:26 +08:00
pikastech
fe3dff9b3d support obj_newTuple/List helper function 2023-03-30 16:28:42 +08:00
pikastech
d2ae781a18 fix typo 2023-03-30 11:33:13 +08:00
pikastech
1faaacafb7 add STD_in/out ctrl on soft_iic 2023-03-30 11:21:12 +08:00