26 Commits

Author SHA1 Message Date
李昂
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
Lyon
b359062172
Dev (#118)
* add PLOOC

* add PLOOC to kernal

* remove unrequired files

* remove pack

* fix plooc ci in test/*.cpp

* add test_common.h

Co-authored-by: Gabriel Wang <embedded_zhuoran@Hotmail.com>
2022-05-19 20:52:19 +08:00
lyon
b422318168 cancel (char*) in test 2022-04-30 21:17:19 +08:00
lyon1998
f05931d320 check inpput arg num when call function 2022-04-02 16:30:36 +08:00
lyon1998
dc42b5bc4d solving unused stack args 2022-03-31 20:32:33 +08:00
lyon1998
4f48e8eccc improve error info 2022-03-29 15:42:40 +08:00
lyon1998
66a3ae355c update errcode info 2022-03-29 15:29:51 +08:00
lyon1998
f6da565249 print ins of all line 2022-03-28 22:32:34 +08:00
lyon1998
a553732ef6 use vmstate to transfer errorcode 2022-03-22 09:56:23 +08:00
lyon1998
ad94b5ce60 not use arg_setSysOut 2022-03-22 09:43:19 +08:00
lyon
ba1c61293b rename 2022-02-22 00:41:45 +08:00
lyon
a9d1bc372e add GTestTask to test task_period 2022-01-24 19:08:33 +08:00
lyon
9b6755eb6e write foarmated __platform_printf to log 2022-01-03 21:51:42 +08:00
lyon
18deeaf7a5 direectly conect print to __platform_printf 2022-01-03 21:40:41 +08:00
lyon
c679f2d0ae use VM_Parameters insteadof Parameters 2021-12-30 19:55:09 +08:00
lyon
150c450231 use self as globals 2021-11-23 12:15:12 +08:00
lyon
f17457c72e use content to save method_ptr and method_dec 2021-11-14 11:42:13 +08:00
pikasTech
98383a3929 use parameters to save globals and locals 2021-10-31 10:37:22 +08:00
lyon1998
0f4c55ab9d all test passed for globls 2021-10-31 00:04:00 +08:00
pikasTech
ada7a3c96f obj_run bugs need to solve 2021-10-30 22:13:25 +08:00
lyon1998
6c7eb7e55a use New_Class() back, and Class()need to be generate 2021-10-18 17:33:55 +08:00
lyon1998
95cfbf6caa obj.set and args_set is not needed any more 2021-10-18 15:09:30 +08:00
lyon1998
709f9437bf change New_Class() to Class() 2021-10-18 11:33:11 +08:00
lyon1998
0e79ffe99a test for sysout is ok 2021-10-15 11:20:07 +08:00
lyon1998
626fa3c9a6 use VM_run instead of invoke, sysOut is not supported 2021-10-14 23:55:35 +08:00
graduateDesign
cfa17f3764 chang to linux 2021-10-04 01:10:49 +08:00