556 Commits

Author SHA1 Message Date
pikastech
10c7f1a261 add __callback inline bytecode
impl strlwr for linux, merge codede.c to _String.c
2022-09-08 08:17:01 +08:00
李昂
bfb390324d
!114 Added utf-8 to utf-16/utf-32 string encoding method
Merge pull request !114 from eglwang/master
2022-09-07 14:58:12 +00:00
eglwang
f7a60bb775 remove comments in codede.c 2022-09-07 22:31:34 +08:00
eglwang
9d4c9689a9 support UTF-16,UTF-32 in pikaStdData_String.encode 2022-09-07 22:29:52 +08:00
eglwang
ba42a3924c fix a bug in PikaStdData_String___setitem__ 2022-09-07 22:19:11 +08:00
lyon
c25d624cda add_files 2022-09-07 22:08:35 +08:00
Lyon
fb26085771 more original APIs 2022-09-07 15:17:39 +08:00
李昂
9c0a549e27
add ARM2d.pyi
Signed-off-by: 李昂 <liang6516@outlook.com>
2022-09-06 17:17:17 +00:00
Lyon
7d2f0825db update arm2d to v1.1.0-preview1 2022-09-07 01:14:27 +08:00
pikastech
9cb3f586d5 fix PIKA_STRING_UTF8_EANBLE = 0 2022-09-06 08:19:05 +08:00
pikastech
91461e3f17 fix warnings 2022-09-05 22:37:31 +08:00
pikastech
d5ab75af41 fix some wars, fix mem leak, add unit test 2022-09-05 22:30:28 +08:00
李昂
c6fa747150
!112 support for UTF-8 in PikaStdData_String
Merge pull request !112 from eglwang/master
2022-09-05 14:03:08 +00:00
eglwang
da84347d3d move UTF-8Support define 2022-09-05 21:45:54 +08:00
eglwang
7a5a020af9 add UTF-8 support for pikaStdData_String 2022-09-05 21:29:30 +08:00
pikastech
af26aace9d use method from str and bytes directly 2022-09-05 20:40:19 +08:00
pikastech
5277b6f51d use arg_newObj 2022-09-05 19:56:56 +08:00
pikastech
45c70ffe79 support __contains__ for dict 2022-09-05 15:39:15 +08:00
pikastech
b298e152e5 support __contain__
support __contains__ for list
2022-09-05 15:21:49 +08:00
pikastech
6257ab7f06 fix print sort 2022-09-04 21:19:41 +08:00
pikastech
eb92e69fd8 fix memroy leak and arg num check err 2022-09-04 18:37:47 +08:00
eglwang
963338e33d re V2 2022-09-04 17:29:16 +08:00
pikastech
d4a0b37958 support **keys in cmodule
support print('test', end='')
2022-09-02 00:33:50 +08:00
李昂
7d191fc2ea !108 keys
* def foo(**keys) in py is ok
* __kwargs is ok
* gening dict
* fix arg->flag init faild
* supporting **keys
2022-08-30 16:40:04 +00:00
pikastech
718b11d482 support try except in cmodule
not use try_top or try_inner

try dict nofound and try len is tested ok
2022-08-30 15:37:09 +08:00
pikastech
87da4d26d1 release v1.10.5, and readyto re 2022-08-29 18:57:10 +08:00
pikastech
8404d5a305 support '//' transfer to '/' 2022-08-29 18:09:45 +08:00
pikastech
cfbc2d98f9 fix cre.c:310:3: error: a label can only be part of a statement and a declaration is not a statement 2022-08-29 16:58:01 +08:00
pikastech
a0b14d80e2 update readme.md 2022-08-29 16:45:41 +08:00
pikastech
f76e456ea0 add test, examples for re, fix some mem leak 2022-08-29 16:29:03 +08:00
eglwang
1f122e3a2a append re.pyi 2022-08-29 12:47:05 +08:00
eglwang
1bf0becd79 Merge branch 'master' of https://gitee.com/eglwang/pikascript 2022-08-29 11:36:36 +08:00
eglwang
41a67198fa the re module,
which makes pikaScript support regular expression,
 just like what real python does.
 =====================
 为pikaScript开发的正则表达式模块
2022-08-29 11:36:29 +08:00
pikastech
004c0b45fc add more comments for sockets 2022-08-28 15:13:39 +08:00
pikastech
12bb6bf4a9 add check version MACRO 2022-08-27 14:55:08 +08:00
pikastech
f09ea25237 add version check for socket and stddevice 2022-08-26 20:05:20 +08:00
pikastech
5f75d370dd update stddevice 2022-08-26 19:41:25 +08:00
pikastech
3d97469e25 add platform_h for socket.c 2022-08-26 17:55:17 +08:00
pikastech
7244267b68 test socket ok 2022-08-26 17:25:45 +08:00
pikastech
ecaf7ed0e9 add __platform for socket, add override 2022-08-26 16:40:12 +08:00
lyon
faa9c62301 add_files 2022-08-25 15:07:29 +08:00
lyon
9f9579c54e add_files 2022-08-25 13:32:34 +08:00
lyon
871fbf701c add_files 2022-08-25 13:06:59 +08:00
pikastech
2a4115722e create socket.py
support socket on linux
2022-08-25 00:54:27 +08:00
pikastech
b26b4ddffa update stddevice 2022-08-24 14:58:09 +08:00
pikastech
ab32fd37ae fix stdlib.pyi macro 2022-08-24 13:26:06 +08:00
pikastech
d897af834c Merge branch 'master' of https://github.com/pikastech/pikascript 2022-08-24 13:08:18 +08:00
pikastech
04da2b93b6 supporting decorator to macro in pyi
update PikaObj.pyi

use @PIKA_C_MACRO_IF to cut sysobj
2022-08-24 13:01:11 +08:00
lyon
027f06710e add_files 2022-08-22 18:44:14 +08:00
lyon
567d0b19ce add_files 2022-08-22 16:58:26 +08:00