9 Commits

Author SHA1 Message Date
李昂
7fafc7eee0
update examples/BuiltIn/type.py. 2022-06-30 08:15:08 +00:00
pikastech
944503cd23 support return val from type() 2022-06-30 16:10:38 +08:00
pikastech
847b9100cf clean example/builtin 2022-06-30 14:24:00 +08:00
pikastech
1fb06d621a add test for list inner dict 2022-06-30 13:18:59 +08:00
李昂
b669710c2c !39 Support d = {'a':x, 'b':y, 'c':z}
* Support d = {'a':x, 'b':y, 'c':z}
* add parse and ins for dict literal
2022-06-30 04:10:03 +00: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
ff16099da5 test iter() for keys is ok 2022-06-23 17:46:50 +08: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