pikastech
e0906f3602
remove type hint in class define
...
remove type hint in cmodule
2022-09-10 13:55:04 +08:00
pikastech
c59c8953b7
support method for str
...
support method for str
2022-09-05 20:29:13 +08:00
pikastech
c7156e318f
update msc
...
update version
2022-09-02 00:39:04 +08:00
pikastech
d4a0b37958
support **keys in cmodule
...
support print('test', end='')
2022-09-02 00:33:50 +08:00
pikastech
3a5b289c0d
add #ifndef for each module in __pikaBinding.c
...
release v1.10.6
uprdate msc
2022-08-30 18:41:39 +08:00
pikastech
063e673955
more info for -api file
2022-08-29 12:40:12 +08:00
pikastech
11088f6b4b
rm -api
...
generate only one -api file
2022-08-25 11:23:56 +08:00
pikastech
d3669ee95d
ready to release v1.10.2
2022-08-24 13:36:23 +08:00
pikastech
33e2a02caf
add decorator.rs
2022-08-24 13:10:38 +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
李昂
60c2b95a0e
update tools/pikaByteCodeGen/pika_config.h.
...
Signed-off-by: 李昂 <liang6516@outlook.com>
2022-08-18 08:12:34 +00:00
pikastech
b694a68a9c
new psc
2022-08-16 12:25:37 +08:00
pikastech
d01ca77a51
support *var in py function
2022-08-16 12:21:11 +08:00
pikastech
f7842ba068
update rust_msc
2022-07-30 19:03:31 +08:00
pikastech
117096a764
correct the sort of fun dec in .h
...
fix .h and .pyi
update PikaMath
update pika_cjson
2022-07-30 18:56:20 +08:00
pikastech
1d7bcf2a39
use __getitem__ __setitem__ instead of __get__ __set__
2022-07-29 23:40:16 +08:00
李昂
e7e501ab73
!56 Support tuple literal
...
* Merge branch 'master' into tuple
* sue SyntaxItemList
* cut the parser
* update preCompiler
* not use tiny_obj in stdlib
* use BUILTIN_STRUCT_ENABLE for list, dict, tuple
* add PikaStdData.Tuple()
* !51 Support bind .pyi from other *.py expect main.py
* fix overflow issue
* fix overflow issue and simplification code
* update PikaCV_Image.c.
2022-07-14 08:36:02 +00:00
李昂
b354948c40
!51 Support bind .pyi from other *.py expect main.py
...
* Support bind .pyi from other *.py expect main.py
* update rust
* fix suffix format
* fix name case
* supporting import pyi from other py
* supporting import pyi from other py
2022-07-13 08:29:42 +00:00
pikastech
71c3923f43
support class XXX: and class XXX():
2022-07-13 10:26:02 +08:00
pikastech
e136c84c83
restore build.sh
2022-07-12 18:59:05 +08:00
pikastech
7aa5952e97
update pikac
2022-07-12 18:27:08 +08:00
pikastech
b029dc5e5f
not use release flag when build linux version
2022-07-12 18:27:08 +08:00
pikastech
8b03acceee
remove no used dependencies
2022-07-12 18:27:08 +08:00
pikastech
0921ee69c4
simplify the byteCodeGen main.c
2022-07-11 23:17:25 +08:00
pikastech
6bf9f03db4
update msc for v1.9.0
2022-07-02 00:49:06 +08:00
pikastech
a31128f934
fix bytecodegen
2022-06-30 13:11:01 +08:00
pikastech
9d10e05b08
release v1.8.8 prec
2022-06-27 10:00:05 +08:00
pikastech
36e8348c18
add version.h, ready to release v1.8.8
2022-06-27 09:48:43 +08:00
pikastech
b65680672e
keep the keep
2022-06-26 22:33:21 +08:00
pikastech
1630664996
fix ~-1 != 0
2022-06-26 22:26:38 +08:00
pikastech
64573955d1
add keep
2022-06-26 15:58:43 +08:00
李昂
b20b5f1bb5
!37 support <try> <except> <raise> keywords, not support parameter yet
...
* restore __pika_ooc.h
* raise in cmodule and py function is ok
* add trydef1.py
* add PIKA_ASSERT_ENABLE config, add try_info
2022-06-26 07:30:52 +00:00
pikastech
1473da29ec
keep folder
2022-06-24 19:51:34 +08:00
pikastech
865290df74
support len() for object and __len__().
...
* list, dict, dict_keys is ok
2022-06-24 18:18:06 +08:00
pikastech
410071a200
keep folder
2022-06-24 16:34:27 +08:00
pikastech
f43e0227a1
remove lib and api of bytecodegen
2022-06-24 16:23:44 +08:00
pikastech
3e371e9e57
fix a[1] = 1 not work inner function()
2022-06-24 16:08:27 +08:00
李昂
e6a33c058e
!34 Support __str__() for PikaStdData.List(),PikaStdData.Dict(),PikaStdData.dict_keys(),
...
* print list as '[x,x,x]'
* support __str__ for Dict
* support __str__ for dict_keys()
2022-06-24 03:30:56 +00:00
pikastech
a3e318efd5
update fix tools/pikascript/pikascript-api
2022-06-23 17:53:53 +08:00
pikastech
ff16099da5
test iter() for keys is ok
2022-06-23 17:46:50 +08:00
lyon
e96292debd
fix parse panic when match void line
2022-06-22 16:18:37 +08:00
pikastech
fca634f3cc
use -> List
2022-06-21 17:49:18 +08:00
pikastech
1087ed0674
support split() for String Class
2022-06-21 17:42:03 +08:00
李昂
e31135ba90
!31 fix run context problem when call the callback function
...
* remove __pikaMain from StdTask
* support run arg from other context(file name space)
* format
* use def_context in callback
* supporting def_context, not ok
2022-06-21 03:29:29 +00:00
pikastech
f30dd75da1
fix mem_lack for StdData_List
2022-06-16 01:18:11 +08:00
pikastech
c02ffb51ab
fix double __init__ when 'import as'
2022-06-15 14:49:17 +08:00
李昂
5349a56656
!26 run the __init__ when init the meta obj
...
* run __init__ when init the meta_obj
* clean dead code
2022-06-15 06:20:34 +00:00
pikastech
77f1879180
add id() built-in
2022-06-14 12:06:56 +08:00
pikastech
8af6116b79
update PreCompiler
2022-06-14 11:23:45 +08:00