41 Commits

Author SHA1 Message Date
blueloveTH
67c86d7921 some fix 2024-06-01 22:24:07 +08:00
blueloveTH
2cbda5d920 remove some headers 2024-06-01 22:19:04 +08:00
blueloveTH
a59592b799 use new vector impl 2024-06-01 18:18:38 +08:00
blueloveTH
36b73e1ce7 some rename 2024-05-10 16:37:30 +08:00
blueloveTH
d3989474a7 some optimize 2024-04-14 12:32:45 +08:00
blueloveTH
e02292c03d add precompile 2024-04-13 21:35:25 +08:00
blueloveTH
1caa9e71c3 fix https://github.com/pocketpy/pocketpy/issues/213 2024-03-04 17:27:13 +08:00
blueloveTH
6cf2f950cd some fix 2024-03-04 17:11:56 +08:00
blueloveTH
7f7e1a14ee raise error on literal ints overflow 2024-03-04 16:48:47 +08:00
blueloveTH
90a9a404e2 some refactor 2024-02-25 13:06:41 +08:00
blueloveTH
97c923e514 use pod_vector for small vectors 2024-02-18 17:51:35 +08:00
blueloveTH
635aae921f fix compile warnings 2024-02-18 16:05:14 +08:00
blueloveTH
c5dcb07ed6 remove unused token 2024-01-15 13:12:40 +08:00
blueloveTH
315cbe5d1a rename FATAL_ERROR to PK_FATAL_ERROR 2024-01-04 12:37:28 +08:00
blueloveTH
c6ec028730 support real exceptions 2024-01-02 16:42:08 +08:00
blueloveTH
1e178caf6e add cmath module 2023-12-30 13:57:51 +08:00
blueloveTH
b5eceec396 add support for \b 2023-12-19 20:02:30 +08:00
blueloveTH
728f164d8a add impl 2023-12-02 12:35:53 +08:00
blueloveTH
2cf3bdc097 improve exception performance 2023-10-12 13:20:12 +08:00
blueloveTH
dbf7dfe7da ... 2023-10-11 14:46:54 +08:00
blueloveTH
b26dbf08cc improve number parsing speed 2023-10-11 14:37:43 +08:00
blueloveTH
332b4100a5 ... 2023-10-11 13:29:43 +08:00
blueloveTH
7c3ac48202 enable LTO 2023-10-11 13:20:48 +08:00
blueloveTH
57beebdfd9 ... 2023-10-11 13:05:07 +08:00
Steve Tautonico
23f1c6e941
Fixed issue with binary literal 2023-10-08 04:11:03 -04:00
Steve Tautonico
badc8d44d1
Added binary literal support 2023-10-08 00:20:14 -04:00
Steve Tautonico
4d2b3e59a1
Added octal literal support 2023-10-07 03:53:34 -04:00
blueloveTH
a19a6b349b fix a compiler error 2023-09-28 04:23:56 +08:00
blueloveTH
dd6e8fab9b reimpl goto 2023-09-24 13:47:47 +08:00
blueloveTH
43ee77e4b0 make int always 64-bit 2023-09-21 23:26:12 +08:00
BLUELOVETH
8b47a2001f support complex import 2023-08-28 12:43:43 +08:00
blueloveTH
c2c1f7bf86 ... 2023-08-10 01:54:31 +08:00
blueloveTH
31850d3f29 support line continuation character 2023-08-10 01:49:37 +08:00
blueloveTH
604ca77e48 fix https://github.com/blueloveTH/pocketpy/issues/121 2023-07-29 22:18:39 +08:00
BLUELOVETH
ff2d76895f support 🥕 as identifier 2023-07-27 11:59:30 +08:00
BLUELOVETH
6ee0a169d0 ... 2023-07-19 16:02:47 +08:00
BLUELOVETH
864345ccc3 ... 2023-07-19 15:50:23 +08:00
blueloveTH
9732828e85 support bytes literal, e.g. b'\xff\12' 2023-07-16 23:39:04 +08:00
BLUELOVETH
d5fc2c8686 add ~ operator 2023-07-07 18:43:50 +08:00
BLUELOVETH
d4696d6931 bug workaround on MacOS
Number::stoi may raise std::out_of_range but it cannot be caught via catch(std::exception&). We use catch(...) for now. Note that catch(...) may catch pkpy::Exception or any others.
2023-07-03 15:02:58 +08:00
blueloveTH
656d1d7291 ... 2023-07-02 03:52:44 +08:00