436 Commits

Author SHA1 Message Date
blueloveTH
10b8afdeb2 fix context problem 2022-11-10 23:50:29 +08:00
blueloveTH
aa0c415f1d add __iter__ and __new__ for some types 2022-11-10 16:42:12 +08:00
blueloveTH
b52aa85f13 adjust builtins 2022-11-10 16:00:21 +08:00
blueloveTH
8267af74b5 Update vm.h 2022-11-10 15:54:48 +08:00
blueloveTH
a61315d1f7 add arg size check 2022-11-10 15:48:08 +08:00
blueloveTH
c9b58e2270 some fix 2022-11-10 15:18:21 +08:00
blueloveTH
47c6639627 make system safe
remove **kwargs

Update obj.h
2022-11-10 15:04:25 +08:00
blueloveTH
ad23d21297 add zero div error 2022-11-10 13:49:26 +08:00
blueloveTH
4842a108c3 fix error report 2022-11-10 13:46:05 +08:00
blueloveTH
498d2d2777 some fix 2022-11-10 00:57:45 +08:00
blueloveTH
252bf167b1 use int64 and float64 2022-11-10 00:54:15 +08:00
blueloveTH
65f6026e64 some fix 2022-11-09 23:16:20 +08:00
blueloveTH
661b2033f9 add _stderr 2022-11-09 22:48:18 +08:00
blueloveTH
21a0314b1a fix a bug of EVAL 2022-11-09 19:33:31 +08:00
blueloveTH
fa3e46bc46 improve error report 2022-11-09 19:19:22 +08:00
blueloveTH
24f3628b8d improve error report 2022-11-09 19:09:27 +08:00
blueloveTH
5c7f1e6dd8 adjust errors 2022-11-09 18:30:25 +08:00
blueloveTH
01bbda85ec some reconstruct 2022-11-09 17:32:12 +08:00
blueloveTH
f8df138b94 fix a bug of neg number
Update compiler.h
2022-11-09 16:09:40 +08:00
blueloveTH
299370a225 fix bugs of __new__
some renames
2022-11-09 14:30:35 +08:00
BLUELOVETH
a5b398d1f1
some renames 2022-11-09 00:26:41 +08:00
blueloveTH
2f12ace827 add num pool
Update vm.h
2022-11-08 23:05:14 +08:00
blueloveTH
bb651906c3 add listcomp support 2022-11-08 20:13:52 +08:00
blueloveTH
5761d0b69c make for loop support compound pointer
Update pocketpy.h
2022-11-08 17:41:34 +08:00
blueloveTH
d4d312fc36 impl f-string 2022-11-08 15:40:06 +08:00
blueloveTH
81516eafb5 add __repr__ 2022-11-07 22:19:00 +08:00
blueloveTH
630828f6e9 fix eq problem 2022-11-07 22:07:15 +08:00
blueloveTH
553d02592f impl *args and **kwargs (partially) 2022-11-07 21:41:58 +08:00
blueloveTH
b5aba376fe impl unpack 2022-11-07 18:42:27 +08:00
blueloveTH
c2fa538f44 add del impl 2022-11-07 16:58:43 +08:00
blueloveTH
9e426d3291 some fix 2022-11-07 16:42:47 +08:00
blueloveTH
4bdb268d93 some renames 2022-11-07 15:54:15 +08:00
blueloveTH
bf6383b5ee some renames 2022-11-07 15:12:39 +08:00
blueloveTH
c623646501 add pointer system 2022-11-07 15:04:41 +08:00
blueloveTH
52ec435775 impl UNPACK_SEQUENCE 2022-11-06 16:57:33 +08:00
blueloveTH
0891000a46 init 2022-11-06 12:16:57 +08:00