summaryrefslogtreecommitdiff
path: root/src/library
AgeCommit message (Collapse)Author
2020-11-25Merge some modules ๐ŸฅžLaurenz
2020-11-20Basic image support ๐Ÿ–ผLaurenz
- [image] function - Image rendering in tests - Supports JPEG and PNG - No PDF export so far
2020-10-19Allow configuration of directions in page and box โ†—Laurenz
2020-10-13BoxAlign and Flow aliases โœLaurenz
2020-10-13Rename geometric eval and apply to resolve โœLaurenz
2020-10-12Strongly typed groups ๐Ÿ‘”Laurenz
2020-10-12Naming and grammar โœ”Laurenz
2020-10-11Refactor layouting base ๐ŸชLaurenz
2020-10-10Refactor text state ๐Ÿ†ŽLaurenz
2020-10-10Switch back to custom geometry types, unified with layout primitives ๐ŸžLaurenz
2020-10-07Move deco, pass and feedback into diagnostics module โ†ฉLaurenz
2020-10-07Evaluation and node-based layouting ๐Ÿš€Laurenz
2020-10-06Typesafe conversions in stack & line layouters ๐ŸฎLaurenz
2020-10-06Rename secondary/primary to main/cross โœLaurenz
2020-10-05Streamline generic layouting primitives ๐Ÿ›ซLaurenz
2020-10-05Tidy up align function ๐ŸงบLaurenz
2020-10-05Remove @ syntax in diagnostics macros ๐Ÿ—‘Laurenz
2020-10-05Move align out of BoxLayout ๐ŸซLaurenz
2020-10-04Small improvements ๐ŸชLaurenz
2020-10-04Better argument parsing ๐Ÿฅ™Laurenz
2020-10-04Shorten some names โ†”Laurenz
2020-10-04Style nits ๐ŸŽˆLaurenz
2020-10-04Separate state and constraints ๐ŸงถLaurenz
2020-10-04Remove Typesetter in favor of typeset function ๐ŸŽฏLaurenz
2020-10-03Int, Float, Relative and Linear values ๐Ÿ‰Laurenz
2020-10-03Port to kurbo ๐ŸŽ‹Laurenz
2020-10-03Update font docs ๐Ÿ“–Laurenz
2020-10-02Small improvements ๐ŸงบLaurenz
2020-10-02Refactor parser ๐ŸžLaurenz
2020-10-01Generalize layouting primitives ๐Ÿ›คLaurenz
2020-10-01Rename compute to eval โœLaurenz
2020-10-01Flatten compute moduleLaurenz
2020-10-01Reorganize ast types ๐Ÿ•Laurenz
2020-10-01Rename table to dict โœLaurenz
2020-09-27Fix for updated fontdock โœ”Laurenz
2020-08-30Format everything with rustfmt! ๐Ÿ’šLaurenz
2020-08-29Make align not behave box-like and smarter ๐Ÿ“ฆLaurenz
Doesn't layout contents into a box anymore, instead layouting inline in the parent context. Also makes axis inferring for center alignents smarter (just because I had fun doing it). It's unsure whether we want to keep it because it might be confusing.
2020-08-27Fix default values for rgb-clamping ๐ŸฉนLaurenz
2020-08-19Make compute functions possible ๐Ÿ’ปLaurenz
Ships with the amazing new `rgb` function!
2020-08-17Tidy up library functions ๐ŸงบLaurenz
2020-08-16Add Value type and replace dyn-nodes with call-exprs ๐Ÿ—Laurenz
- In addition to syntax trees there are now `Value`s, which syntax trees can be evaluated into (e.g. the tree is `5+5` and the value is `10`) - Parsing is completely pure, function calls are not parsed into nodes, but into simple call expressions, which are resolved later - Functions aren't dynamic nodes anymore, but simply functions which receive their arguments as a table and the layouting context - Functions may return any `Value` - Layouting is powered by functions which return the new `Commands` value, which informs the layouting engine what to do - When a function returns a non-`Commands` value, the layouter simply dumps the value into the document in monospace
2020-08-16Remove tuples and objects in favor of tables ๐Ÿ›ขLaurenz
This refactores the parser tests to make them more concise and flexible with regards to spans.
2020-08-14Desugar body into last argument ๐ŸฉLaurenz
2020-08-14Always parse bodies as syntax trees ๐ŸŒณLaurenz
Previously they were passed as strings to the function parser, now they are parsed and then passed as trees to the function. This allows making bodies sugar for a last content argument. While it removes some flexibility allowing function to parse arbitrary syntaxes in their bodies, these can be modelled as (raw) string arguments.
2020-08-04Refactor function parsing โ™ปLaurenz
2020-08-04Par nodes ๐ŸงณLaurenz
2020-08-03Formatting, documentation and small improvements ๐ŸงฝLaurenz
2020-08-02Replace body! macro with functions ๐ŸงฐLaurenz
2020-08-02Refactor model into tree ๐Ÿ›’Laurenz
2020-08-02Layout elements and pure rust rendering ๐ŸฅLaurenz