summaryrefslogtreecommitdiff
path: root/src/eval
AgeCommit message (Collapse)Author
2021-11-232d alignments with plus operatorLaurenz
2021-11-29Castable optional and smart valuesLaurenz
2021-11-20StrokesLaurenz
2021-11-18Page fillLaurenz
2021-11-18RefactoringLaurenz
2021-11-17Placed nodeLaurenz
2021-11-17Align nodeLaurenz
2021-11-16Don't wrap already layoutable nodes into flows/pars unnecessarilyLaurenz
2021-11-16Revert page and inline levelsLaurenz
2021-11-16Move `lang` functionality into `par`Laurenz
2021-11-16Introduce `FlowNode`Laurenz
2021-11-15Make clippy happier and remove `Str`Laurenz
2021-11-14TidyingLaurenz
2021-11-08Final touchesLaurenz
2021-11-08Fine-grained capturingLaurenz
2021-11-08Tidy up ASTLaurenz
2021-11-05Code Review: No Patrick, question marks are not an instrumentMartin Haug
2021-11-05RefactoringLaurenz
Co-Authored-By: Martin <mhaug@live.de>
2021-11-05Improve error handlingMartin Haug
2021-11-05Slim `NodeKind` memory footprintMartin Haug
2021-11-05Less owning, more iteratingMartin Haug
2021-11-05Change parserMartin Haug
2021-11-02Fix page breaks in lists and enumsLaurenz
2021-10-31Reorganize modulesLaurenz
Instead of separating functionality into layout and library, everything lives in the library now. This way, related things live side by side and there are no duplicate file names in the two directories.
2021-10-26Simplify node constructionLaurenz
2021-10-26Fr in stack and parLaurenz
2021-10-25Replace `..` syntax with `range` functionLaurenz
2021-10-23Simplify decorationsLaurenz
2021-10-23Introduce page / block / inline levelsLaurenz
2021-10-23Revise block node contractLaurenz
Frames produced by block nodes are now always treated as exactly one per given region and a frame must not be larger than its respective region. Any overflow must be handled internally. This means that stack and grid don't need to search for fitting regions anymore, since the child has already does that for them. This commit further moves stack spacing into a new `SpacingNode`.
2021-10-23Remove inline alignment from stackLaurenz
The current inline alignment is very broken and leads to lots of subtle weirdness. Getting rid of it simplifies the stack's interface a lot. At a later point either: - inline alignment will be added back in a better way, or - all nodes will be able to expand or align themselves, meaning that the stack's children take care of their alignment
2021-10-10Rename `State` to `Style` and move it into its own moduleLaurenz
2021-10-10Move paint and colors into `geom`Laurenz
2021-10-10Make `none` spreadableLaurenz
2021-10-07Slim down and organize paper sizesLaurenz
Co-Authored-By: Martin <mhaug@live.de>
2021-10-05Always use first positional argument in `expect()`Laurenz
This changes `#h(100)` from "missing argument: spacing" to "expected linear, found integer".
2021-10-05Iterate over grapheme clusters instead of charsLaurenz
2021-09-30New default fontsLaurenz
2021-09-27Fix panic due to bad alignments in stack functionLaurenz
2021-09-15Blocks directly in template also scopeLaurenz
2021-09-15Rename `SyntaxTree` to `Markup`Laurenz
Also `SyntaxNode` -> `MarkupNode`.
2021-09-14Add `BoolExt` trait with `flip` methodLaurenz
2021-09-10Rename `Arguments` to `Args`Laurenz
2021-08-31Make user-facing "debug" representation use Debug instead of DisplayLaurenz
2021-08-31More utility functionsLaurenz
- join("a", "b", "c", sep: ", ") - int("12") - float("31.4e-1") - str(10) - sorted((3, 2, 1))
2021-08-29Allow body for font function once againLaurenz
2021-08-27Make font fallback disableableLaurenz
2021-08-27Font family thingsLaurenz
- Better default font family order - Remove weird leading dots from font family names - Public API for retrieving all found font families
2021-08-24Switch from state to decorations for underline/strikethrough/overlineLaurenz
2021-08-23Links! (#43)Martin
Co-authored-by: Laurenz <laurmaedje@gmail.com>