28 Commits

Author SHA1 Message Date
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