20 Commits

Author SHA1 Message Date
lyon
3a9e5d68c8 fix __getitem__ without __len__ 2023-05-24 00:51:13 +08:00
pikastech
e536665ff6 add builtin exception for builtins.pyi 2023-05-22 15:19:59 +08:00
lyon
b49cb51de3 support isinstance() builtin 2023-05-21 21:05:17 +08:00
lyon
0ff4ecd028 VM support l[0]() nad test()() stmt 2023-05-20 00:26:27 +08:00
lyon
fa97fbb788 support parse for 'test()()' and 'test[]()' 2023-05-18 23:15:33 +08:00
lyon
384e05068c support val hint 2023-05-15 00:05:56 +08:00
lyon
f276fdadfb support class script 2023-05-14 23:54:57 +08:00
pikastech
bf129bb398 fix parse err for 'test'.split()[0]
add test
2023-05-05 21:47:52 +08:00
pikastech
4e9816f9a1 support max(), min() builtin 2023-05-02 23:54:11 +08:00
lyon
72ec29fbe0 support XXX is not YYY 2023-04-30 21:40:27 +08:00
lyon
f5b0bf5b5c support tuple,list,dict as default arg 2023-04-29 18:38:02 +08:00
pikastech
95e19ac08a try to support tuple as default arg, not pass 2023-04-29 12:21:29 +08:00
pikastech
44c23ee10f fix function call err with pos and default args 2023-04-28 11:19:44 +08:00
pikastech
06150d0133 fix os_split 2023-03-26 21:30:18 +08:00
pikastech
e9f832c517 enhance int() for int('1234', 8) 2023-03-17 14:28:10 +08:00
lyon
ec8405d304 support str.join()
fix VM for nano mode
2023-03-11 22:36:12 +08:00
lyon
7889c4028c (vm) raise err when slice of get out of range 2023-03-11 13:14:54 +08:00
lyon
814db1ad55 movd L Regestor to Locals
fix mem lack on for_return
2023-03-10 20:50:23 +08:00
pikastech
3f1ebc12eb check pos arguments for fun with pos and vars 2023-03-02 18:43:25 +08:00
lyon
f152db319c support fullfealure of type() 2023-03-01 22:03:51 +08:00