summaryrefslogtreecommitdiff
path: root/src/syntax/scope.rs
AgeCommit message (Collapse)Author
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-04Refactor function parsing ♻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-02Refactor argument parsing 🔬Laurenz
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-02-04Merge `Parsed` and `Layouted` types into `Pass` with `Feedback` 🌝🎢🌚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