A new markup-based typesetting system that is powerful and easy to learn.
Go to file
Laurenz 30f16bbf64 Add Value type and replace dyn-nodes with call-exprs 🏗
- 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-16 22:39:21 +02:00
.github/workflows Update Cargo.toml and CI configuration ⚙ 2020-08-02 11:58:47 +02:00
benches Add Value type and replace dyn-nodes with call-exprs 🏗 2020-08-16 22:39:21 +02:00
fonts Par nodes 🧳 2020-08-04 11:46:04 +02:00
main Formatting, documentation and small improvements 🧽 2020-08-03 16:04:55 +02:00
src Add Value type and replace dyn-nodes with call-exprs 🏗 2020-08-16 22:39:21 +02:00
tests Add Value type and replace dyn-nodes with call-exprs 🏗 2020-08-16 22:39:21 +02:00
.gitignore Remove output files which sneaked into the repository 2020-08-14 20:55:10 +02:00
Cargo.toml Add Value type and replace dyn-nodes with call-exprs 🏗 2020-08-16 22:39:21 +02:00