summaryrefslogtreecommitdiff
path: root/src/syntax/func
AgeCommit message (Collapse)Author
2020-08-02Refactor argument parsing ๐Ÿ”ฌLaurenz
2020-08-02Unify font and page functions ๐Ÿ’•Laurenz
- Removes font weight and width warnings for now, will be added again later - Adds a bit hacky get_first function for tuples, will be refactored soon anyway
2020-08-01Raw lengths ๐ŸšฒLaurenz
Replace unitless length with raw f64 and introduce length type with unit.
2020-08-01Port font handling to fontdock and ttf-parser ๐Ÿ›ณLaurenz
- Use fontdock for indexing fonts and querying - Typst binary now automatically indexes and uses system fonts in addition to a fixed font folder! - Removes subsetting support for now (was half-finished anyways, plan is to use harfbuzz for subsetting in the future) - Adds font width configuration support
2020-07-29Move, rename and switch some things (boring) ๐ŸššLaurenz
- Problems -> Diagnostics - Position -> Pos - offset_spans -> Offset trait - Size -> Length (and some more size types renamed) - Paper into its own module - scope::Parser -> parsing::CallParser - Create `Decorations` alias - Remove lots of double newlines - Switch from f32 to f64
2020-07-27Refactor parser ๐Ÿš‡Laurenz
2020-07-26Rename errors to problems and make error! macro more ergonomic ๐ŸงผLaurenz
Also adds a `warning!` macro.
2020-07-18Remove duplicate spans for func args โŒLaurenz
2020-07-18Spanned object pairs and refactoring ๐ŸงตMartin Haug
2020-02-11Parse tuples and objects ๐Ÿ’Laurenz
Generalizes the parsing of tuples, objects and function arguments into generic comma-separated collections.
2020-02-04Serialize layouts with serde ๐Ÿ” Laurenz
2020-02-04Adapt for tonty and fix a few bugs ๐ŸšงLaurenz
2020-02-04Streamline Key + Value traits ๐ŸŒŠLaurenz
2020-02-03Better Debug/Display and Derives ๐ŸงฝLaurenz
2020-02-03Upgrade to new toddle interface ๐ŸณLaurenz
2020-01-26Document everything ๐Ÿ“œLaurenz
2020-01-24Reorganize modules ๐ŸงฑLaurenz
2020-01-24Non-fatal argument parsing ๐ŸŒ‹Laurenz