40 Commits

Author SHA1 Message Date
blueloveTH
7079b66a64 add goto & Threaded VM 2022-11-14 15:19:39 +08:00
blueloveTH
2f1effb3e4 add random module (FROM Jacky888) 2022-11-13 19:36:36 +08:00
blueloveTH
80c8c837c4 add hex support 2022-11-13 18:48:30 +08:00
blueloveTH
dcc899a884 add bitwise op 2022-11-13 18:30:13 +08:00
blueloveTH
181e7eb298 add exports 2022-11-12 22:18:49 +08:00
blueloveTH
05369804a9 some fix 2022-11-12 16:13:31 +08:00
blueloveTH
2e55d890fc Update compiler.h 2022-11-12 00:29:41 +08:00
blueloveTH
9e7ef156c5 change Function to ptr 2022-11-12 00:11:16 +08:00
blueloveTH
ca4039a52f add global kw 2022-11-11 00:47:01 +08:00
blueloveTH
ff4776f756 some fix 2022-11-11 00:30:03 +08:00
blueloveTH
10b8afdeb2 fix context problem 2022-11-10 23:50:29 +08:00
blueloveTH
967c48d91f move headers 2022-11-10 19:31:02 +08:00
blueloveTH
47c6639627 make system safe
remove **kwargs

Update obj.h
2022-11-10 15:04:25 +08:00
blueloveTH
4842a108c3 fix error report 2022-11-10 13:46:05 +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
94bda0c947 fix error pos 2022-11-09 21:47:52 +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
56c2ef36db impl lambda
Update compiler.h
2022-11-08 22:07:15 +08:00
blueloveTH
d78dfb9d7f fix a precedence error 2022-11-08 21:56:43 +08:00
blueloveTH
84cdb20687 fix a bug of REPL 2022-11-08 21:52:44 +08:00
blueloveTH
f2e589a5a3 impl listcomp(with if) 2022-11-08 21:22:59 +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
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
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
532f915860 Update compiler.h 2022-11-06 23:52:14 +08:00
blueloveTH
a4dc943c7b move str.join | add partial support of tuple 2022-11-06 15:48:28 +08:00
blueloveTH
0891000a46 init 2022-11-06 12:16:57 +08:00