22 Commits

Author SHA1 Message Date
Laurenz
1d027ff6d2
Fix parsing of parenthesized imports (#3633) 2024-03-12 10:47:48 +00:00
geekvest
098ef5acbb
Fix some comments (#3541)
Signed-off-by: geekvest <cuimoman@sohu.com>
2024-03-03 14:50:19 +00:00
Myriad-Dreamin
030041466b
Provide more fine-grained spans in raw blocks (#3257)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-03-01 09:17:41 +00:00
Laurenz
8d63b0479c
Make use of is_some_and where applicable (#3523) 2024-02-28 14:24:50 +00:00
Laurenz
0aa9254356
Fix bugs with parenthesized expression parsing (#3505) 2024-02-27 11:12:43 +00:00
Laurenz
9646a132a8
Fix parser bug with space before colon (#3504) 2024-02-27 10:43:02 +00:00
Laurenz
145723b1ef
New context system (#3497) 2024-02-27 10:05:16 +00:00
Laurenz
be49935753
Destructuring improvements (#3463) 2024-02-21 08:38:47 +00:00
Laurenz
0fb2a67484
Introduce SyntaxSet (#3450) 2024-02-18 13:28:00 +00:00
Heinenen
ad901c2cdb
Syntax error if function name is parenthesized (#3058)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-01-16 08:52:56 +00:00
Sébastien d'Herbais de Thun
c4d9b0c3d8
New performance timings (#3096)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-12-30 12:36:15 +00:00
Carson McManus
754e1788b2
Fix a parser bug causing x.) to be treated as a field access (#2962) 2023-12-18 12:33:29 +01:00
Laurenz
2da619e17c Streamline imports 2023-11-19 16:34:38 +01:00
tingerrr
5f922abfd8
Add hints for invalid identifier errors (#2583) 2023-11-07 12:14:20 +01:00
Samuel Tardieu
e550f0a8f7
Prevent silent swallowing of return expressions trailing arguments (#2545)
Fixes #2104
2023-11-06 21:42:38 +01:00
Matt Fellenz
8fd546760c
Implement dict key interpolation (#2559) 2023-11-02 17:08:08 +01:00
Laurenz
f474639ebe Hashtag -> Hash 2023-10-09 16:04:10 +02:00
Laurenz
e39be71a54 Fix newline parsing behaviour in markup 2023-09-12 11:45:24 +02:00
Laurenz
fe402759c0 Don't automatically match fences
Fixes #306
2023-09-06 12:07:37 +02:00
Pg Biel
19b91d59d1
Allow renaming imports with as (#1923) 2023-08-30 13:36:02 +02:00
Anton Wetzel
39e101f0af
enum ident one more then current start (#1824) 2023-08-03 00:35:26 +02:00
Laurenz
f5953887c9 Extract syntax module into typst-syntax crate 2023-07-18 21:04:46 +02:00