summaryrefslogtreecommitdiff
path: root/src/library/boxed.rs
AgeCommit message (Collapse)Author
2020-11-25Merge some modules ๐ŸฅžLaurenz
2020-10-19Allow configuration of directions in page and box โ†—Laurenz
2020-10-13BoxAlign and Flow aliases โœLaurenz
2020-10-12Strongly typed groups ๐Ÿ‘”Laurenz
2020-10-11Refactor layouting base ๐ŸชLaurenz
2020-10-10Switch back to custom geometry types, unified with layout primitives ๐ŸžLaurenz
2020-10-07Evaluation and node-based layouting ๐Ÿš€Laurenz
2020-10-06Rename secondary/primary to main/cross โœLaurenz
2020-10-05Move align out of BoxLayout ๐ŸซLaurenz
2020-10-04Small improvements ๐ŸชLaurenz
2020-10-04Better argument parsing ๐Ÿฅ™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-02Refactor parser ๐ŸžLaurenz
2020-10-01Reorganize ast types ๐Ÿ•Laurenz
2020-10-01Rename table to dict โœLaurenz
2020-08-30Format everything with rustfmt! ๐Ÿ’šLaurenz
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-01-24Non-fatal argument parsing ๐ŸŒ‹Laurenz
2020-01-16Powerful parser testing ๐Ÿฑโ€๐Ÿ‘คLaurenz
2020-01-06Asyncify font loading ๐ŸชLaurenz
2020-01-05Re-enable *, _ and `.Laurenz
2019-12-30Simple line layouter ๐ŸงพLaurenz
2019-12-15Paper styles and scalable+default margins ๐Ÿ“œLaurenz
2019-12-13More consistent library code and functions ๐ŸŽ„Laurenz
2019-12-13Implement expression kind for Spanned<T> ๐Ÿ‘ฉโ€๐Ÿ’ปLaurenz
2019-12-12Refine and rename layouting types ๐Ÿ›€Laurenz
2019-12-11Pretty good stack layouter โœˆLaurenz
2019-12-10Progressing stack layouter ๐ŸšŠLaurenz
2019-12-09Bad stack layouter ๐Ÿš‘Laurenz
2019-12-06Finish consistent map and add two further convenience maps ๐Ÿ—บLaurenz
2019-12-05Move arg parser into `FuncArgs` and create (incomplete) consistent map ๐ŸงญLaurenz
2019-12-04Unify error types โ™พLaurenz
2019-12-04Expand functionality of function! macro ๐Ÿ›ฐLaurenz
2019-11-30Refactor layouting base โ™ปLaurenz
2019-11-22Fix secondary non-origin alignment ๐ŸšงLaurenz
2019-11-17Update standard library functions ๐ŸŽLaurenz
2019-10-23Introduce a set of macros for writing functions more concisely ๐ŸŽLaurenz
2019-10-17Extend stack layouts from vertical to horizontal flows โžกLaurenz
2019-10-17Create basic box and line-break functions ๐Ÿ“ฆLaurenz