18 Commits

Author SHA1 Message Date
pikastech
eb92e69fd8 fix memroy leak and arg num check err 2022-09-04 18:37:47 +08:00
pikastech
f76e456ea0 add test, examples for re, fix some mem leak 2022-08-29 16:29:03 +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
pikastech
cd6dfbbb71 unittest can run 2022-08-11 19:21:53 +08:00
pikastech
e61e4716ac add examples for unittest 2022-08-06 23:26:04 +08: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
pikastech
2eb911cd1a fix parse issue when met xx_import 2022-06-28 16:35:00 +08:00
pikastech
20b63cfa15 resotre strGetLastLine, support cut for IMPORT_EX and EXCEPTION 2022-06-27 11:29:48 +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
李昂
6acc0f9ecd !25 support format output for print()
* test for format with tuple is ok
* 'format'%var is ok (tuple var is not ok)
* rename _cformat to cformat()
* optimize the memory usage of format_list
* add string-test.cpp
* cformat() is ok
* fix variable par load issue
* use test_common.h
* use test_common to simplify the gtest case
* Merge branch 'master' into dev
* fix float->double for bytecodegen
* update to /package
* Use double in C for float in python
2022-06-14 03:20:17 +00:00
pikastech
5d11b14b09 support builtin function for imported module 2022-06-08 11:29:20 +08:00
pikastech
0daf46c269 fix for_loop runError in module 2022-06-08 10:00:54 +08:00
pikastech
70f40df524 add test file, for loop in module not ok 2022-06-07 17:34:19 +08:00
pikastech
f888b32e92 fix invalid access when method_arg is void 2022-06-06 14:45:37 +08:00
pikastech
06885abfee update core, fix core dump when import not exist class 2022-06-05 23:07:45 +08:00
pikastech
5e17930358 add module-test.cpp 2022-06-05 23:01:17 +08:00