680 Commits

Author SHA1 Message Date
blueloveTH
b8f7491cd7 Merge branch 'main' of https://github.com/blueloveTH/pocketpy 2023-02-18 15:48:47 +08:00
blueloveTH
798697e488 up 2023-02-18 15:48:40 +08:00
BLUELOVETH
69338f316d
Merge pull request #25 from apsz3/builtin/enumerate
Add `enumerate` builtin
2023-02-18 09:20:44 +08:00
aps
be6dad5c4b add enumerate 2023-02-17 15:39:41 -05:00
blueloveTH
63a00d0faf add inline block 2023-02-16 01:45:58 +08:00
blueloveTH
051560279d up 2023-02-15 23:38:57 +08:00
BLUELOVETH
af9f2ba6c4 fix an error of [][:-1] 2023-02-14 16:17:54 +00:00
BLUELOVETH
0e4052744b add FileIO and open 2023-02-13 17:38:35 +00:00
blueloveTH
418101df19 fix a bug of dir 2023-02-13 19:23:52 +08:00
BLUELOVETH
4a15d1c8f0
Merge pull request #15 from blueloveTH/test
test pr
v0.8.6
2023-02-13 18:07:32 +08:00
blueloveTH
ce0ba313d1 fix neg constant 2023-02-13 18:06:52 +08:00
blueloveTH
6067436e46 test 2023-02-13 18:03:59 +08:00
blueloveTH
d060c45928 up 2023-02-13 17:22:47 +08:00
BLUELOVETH
4e4ed4ddbd impl yield stmt 2023-02-12 22:27:38 +00:00
blueloveTH
fda2338c9f Create profile.sh
up
2023-02-12 17:54:47 +08:00
blueloveTH
b836a6be84 Update obj.h 2023-02-12 17:32:10 +08:00
blueloveTH
ed44520b42 up 2023-02-12 17:22:08 +08:00
blueloveTH
b34317e7ee Update memory.h 2023-02-12 06:40:22 +08:00
BLUELOVETH
3c098e638f up 2023-02-11 22:07:56 +00:00
BLUELOVETH
794d0785a0
Merge pull request #12 from apsz3/main
Assert with message
2023-02-11 20:03:49 +08:00
BLUELOVETH
e02429365e
Update error.h 2023-02-11 19:59:28 +08:00
blueloveTH
a94a580c15 add del support 2023-02-11 19:49:40 +08:00
blueloveTH
340f1bb15c some optimize 2023-02-11 19:14:10 +08:00
blueloveTH
bf26464089 Update compiler.h 2023-02-11 17:44:43 +08:00
blueloveTH
71050fc4bb move list.__mul__ to C impl 2023-02-11 17:22:11 +08:00
blueloveTH
d9717abc5c small fix 2023-02-11 16:46:19 +08:00
blueloveTH
d70d2c6995 some update 2023-02-11 16:23:32 +08:00
aps
ac9640f73e Add sample test for assertions with messages 2023-02-10 22:41:27 -05:00
aps
2563f64670 Assert takes optional message 2023-02-10 22:34:44 -05:00
BLUELOVETH
817f7c3583
Merge pull request #10 from apsz3/main
Add all, any builtins
2023-02-11 05:09:49 +08:00
BLUELOVETH
a32fab3c1c up 2023-02-10 21:02:40 +00:00
BLUELOVETH
f076bf4310 test ++/-- 2023-02-10 20:43:22 +00:00
aps
92f4683712 Add all, any builtins 2023-02-10 14:23:49 -05:00
blueloveTH
b6bb543c84 Update simple.py
add `sqrt` to math
2023-02-11 00:17:09 +08:00
BLUELOVETH
f818c40398
Merge pull request #9 from gacheiro/main
Add `fabs`, `floor` and `ceil` to `math` module
2023-02-11 00:11:24 +08:00
blueloveTH
ce6dba5240 up 2023-02-11 00:08:27 +08:00
Thiago Jobson
1c4d9da00b Add fabs, floor and ceil to math module 2023-02-10 16:52:58 +01:00
blueloveTH
b7ca9dfa33 up 2023-02-10 23:49:23 +08:00
blueloveTH
b5b9f59689 up 2023-02-10 23:37:02 +08:00
blueloveTH
cb93e0ec25 add list.sort impl (quick sort) 2023-02-10 21:32:13 +08:00
blueloveTH
2362e88ea0 Update pocketpy.h v0.8.4 2023-02-10 16:41:35 +08:00
blueloveTH
4368dc3501 Update codeobject.h 2023-02-10 16:32:43 +08:00
blueloveTH
b20e9b49c0 a bunch of rename 2023-02-10 16:28:08 +08:00
blueloveTH
1c6ea53050 up 2023-02-10 15:54:53 +08:00
blueloveTH
c35eff5a21 up
up

Update codeobject.h
2023-02-10 05:02:49 +08:00
blueloveTH
e36eb9ff19 optimize 2023-02-10 04:40:30 +08:00
blueloveTH
c2d451695c Update parser.h 2023-02-10 03:44:02 +08:00
blueloveTH
c329f83520 Update vm.h 2023-02-10 03:27:24 +08:00
blueloveTH
fcf9dcf41d up 2023-02-10 03:22:21 +08:00
blueloveTH
b9db2ce5fa Update obj.h 2023-02-10 02:57:28 +08:00