summaryrefslogtreecommitdiff
path: root/crates/typst-syntax/src
AgeCommit message (Collapse)Author
2024-03-12Fix parsing of parenthesized imports (#3633)Laurenz
2024-03-09Update changelog and roadmap (#3594)Laurenz
2024-03-06Add `typst init` command (#3544)Laurenz
2024-03-03Fix some comments (#3541)geekvest
Signed-off-by: geekvest <cuimoman@sohu.com>
2024-03-01Provide more fine-grained spans in raw blocks (#3257)Myriad-Dreamin
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-02-29Add `depth` and `offset` field to `heading` (#3038)tingerrr
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-02-28Make use of `is_some_and` where applicable (#3523)Laurenz
2024-02-27Fix bugs with parenthesized expression parsing (#3505)Laurenz
2024-02-27Fix parser bug with space before colon (#3504)Laurenz
2024-02-27New context system (#3497)Laurenz
2024-02-21Destructuring improvements (#3463)Laurenz
2024-02-18Introduce `SyntaxSet` (#3450)Laurenz
2024-02-12lexer: Allow emphasis in Korean text without spaces (#3397)Natsu Kagami
2024-02-05Support reading input from stdin (#3339)spore
2024-01-30Remove an unnecessary clone in loop evaluation (#3297)Leedehai
2024-01-29Do not parse special spaces to Space Token (#3267)Peng Guanwen
2024-01-16Syntax error if function name is parenthesized (#3058)Heinenen
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-01-02Don't stop parsing markup text for braces (#3112)Nathan Varner
2023-12-30Don't allow nested line comment inside block comment (#3048)Heinenen
2023-12-30New performance timings (#3096)Sébastien d'Herbais de Thun
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-12-18Fix a parser bug causing `x.)` to be treated as a field access (#2962)Carson McManus
2023-11-27Fix trailing comma of function call in math mode (#2772)T0mstone
2023-11-26Rework `Vt` into `Engine`Laurenz
- Moves as much data out of the `Vm` - Removes duplication with call_vm and call_vt flavours - Uses tracked chain instead of fixed int for determining max nesting depth - This means that nesting checks now generalizes to layout and realization, to detect crashing show rules and overly nested layouts
2023-11-24Merge `typst` and `typst-library`Laurenz
2023-11-21Tidy up some importsLaurenz
2023-11-19Streamline importsLaurenz
2023-11-15Lexer change: Allow emphasis in CJK text without spaces (#2648)Peng Guanwen
2023-11-13Fix potential line splitting issue in `raw` (#2674)Sébastien d'Herbais de Thun
2023-11-07Add hints for invalid identifier errors (#2583)tingerrr
2023-11-06Prevent silent swallowing of return expressions trailing arguments (#2545)Samuel Tardieu
Fixes #2104
2023-11-02Implement dict key interpolation (#2559)Matt Fellenz
2023-10-30Fixed typos (#2524)Fritz Rehde
2023-10-29Linebreaking for linksLaurenz
2023-10-19Fix tag list orderLaurenz
2023-10-17Replace `Vec` with `EcoVec`, removed `Box` (#2420)Sébastien d'Herbais de Thun
2023-10-12MathAttach::primes: account for possible hash before base (#2363)bluebear94
Fixes #2358.
2023-10-09Hashtag -> HashLaurenz
2023-10-09Use/allow U+2212 MINUS SIGN instead of U+002D HYPHEN MINUS everywhere (#2318)MALO
2023-09-26Extract IDE crateLaurenz
2023-09-19Improve span stability after incremental parsingLaurenz
2023-09-19Incremental parsing in CLILaurenz
Reparses files in the CLI incrementally and also uses the file modification timestamp to completely skip reparsing if possible.
2023-09-16Fix missing capturing of assignmentsLaurenz
The previous commit was a bit overambitious. The left-hand side of assignments should actually be fully captured: Argument lists in `at` calls can contain captured variables. And if the assigned variable itself is captured, then the function is faulty anyway. (And we ensure the correct error message by capturing it.) Fixes #2169
2023-09-16Fix incremental compilation by fixing closure capturingLaurenz
Fixes #1958
2023-09-12Fix newline parsing behaviour in markupLaurenz
2023-09-06Don't automatically match fencesLaurenz
Fixes #306
2023-09-04Allow packages to specify their minimum compiler versionLaurenz
2023-09-04Update ast.rs (#2057)KillTheMule
Rust 1.74 warns about this, noting it will be a hard error soon. Quite annoying when developing on an unstable compiler now already ;)
2023-08-30Allow renaming imports with `as` (#1923)Pg Biel
2023-08-29More type safety for spansLaurenz
2023-08-22Virtual path typeLaurenz
Fixes #1937