summaryrefslogtreecommitdiff
path: root/src/eval/mod.rs
AgeCommit message (Collapse)Author
2021-09-15Rename `SyntaxTree` to `Markup`Laurenz
Also `SyntaxNode` -> `MarkupNode`.
2021-09-10Rename `Arguments` to `Args`Laurenz
2021-08-31More utility functionsLaurenz
- join("a", "b", "c", sep: ", ") - int("12") - float("31.4e-1") - str(10) - sorted((3, 2, 1))
2021-08-21Prune derivesLaurenz
2021-08-19Refactor layouting a bitLaurenz
Notably: - Handle aspect ratio in fixed node - Inline constraint inflation into pad node
2021-08-17Library functions behave more imperativelyLaurenz
- Templates scope state changes - State-modifying function operate in place instead of returning a template - Internal template representation contains actual owned nodes instead of a pointer to a syntax tree + an expression map - No more wide calls
2021-08-16Convert single-field structs to tuple structsLaurenz
2021-08-16Change how functions are calledLaurenz
2021-08-16Editable source filesLaurenz
2021-08-14Separate type for string valuesLaurenz
2021-08-13Optimize memory sizesLaurenz
2021-08-13Argument collection and spreadingLaurenz
2021-08-13Add file information to spansLaurenz
2021-08-12Named arguments for user defined functionsLaurenz
2021-08-12Array and dictionary indexingLaurenz
2021-08-10Minor refactoringsLaurenz
- Reorder parser methods and use `Pos` everywhere - Remove tab special handling for columns and adapt heading/list/enum indent handling - Don't panic when a file has an empty path
2021-08-09New source loading architectureLaurenz
2021-08-01Pretty-printed diagnostics with tracebackLaurenz
2021-07-30Fatal errorsLaurenz
- Makes errors fatal, so that a phase is only reached when all previous phases were error-free - Parsing still recovers and can produce multiple errors - Evaluation fails fast and can thus produce only a single error (except for parse errors due to an import) - The single error that could occur during execution is removed for now - Removes Value::Error variant
2021-07-29Move EcoString and OptionExt into utilLaurenz
2021-07-25Move and refactorLaurenz
2021-07-21Switch Loader from Option to io::ResultLaurenz
2021-07-21Fs builder methods + tidy upLaurenz
2021-07-21Main context structLaurenz
2021-07-20FileId instead of Path + FileHashLaurenz
2021-07-11Simpler castingLaurenz
2021-07-10Remove warnings from parsing and castingLaurenz
2021-07-10Reference-count complex valuesLaurenz
Rename some nodes types
2021-07-10Eco string 🌱Laurenz
2021-07-08Compare functions and templates by identityLaurenz
2021-07-08Range operatorLaurenz
2021-06-30Remove color literals (#39)Laurenz
2021-06-30No more collisions between syntax::Tree and layout::TreeLaurenz
2021-06-26With expressionsLaurenz
2021-06-18Streamline template evaluationLaurenz
2021-06-18Join semanticsLaurenz
2021-06-18Remove eat_ prefixLaurenz
2021-06-09Tidy upLaurenz
2021-06-09Add a grid layouterMartin Haug
2021-06-09Introduce `fr`sMartin Haug
2021-06-09Lists with indent-based parsingLaurenz
- Unordered lists with indent-based parsing and basic layout using stacks - Headings are now also indent based - Removes syntax functions since they will be superseded by select & transform
2021-06-01Refactor path handlingLaurenz
2021-05-31Fix and improveLaurenz
- Set context location to resolved path during module evaluation. - Dump module diagnostics on import - Use same-file for more robustness than fs::canonicalize
2021-05-31Module loading systemLaurenz
Detects cyclic imports and loads each module only once per compilation.
2021-05-31Parse import and include expressionsMartin Haug
Co-Authored-By: Laurenz <laurmaedje@gmail.com>
2021-05-28Refactored loading and cache architectureLaurenz
2021-05-18Leaner argument parsingLaurenz
2021-03-25Refactor alignments & directions 📐Laurenz
- Adds lang function - Refactors execution context - Adds StackChild and ParChild enums
2021-03-21Syntax functions 🚀Laurenz
This adds overridable functions that markup desugars into. Specifically: - \ desugars into linebreak - Two newlines desugar into parbreak - * desugars into strong - _ desugars into emph - = .. desugars into heading - `..` desugars into raw
2021-03-19Scheduled maintenance 🔨Laurenz
- New naming scheme - TextNode instead of NodeText - CallExpr instead of ExprCall - ... - Less glob imports - Removes Value::Args variant - Removes prelude - Renames Layouted to Fragment - Moves font into env - Moves shaping into layout - Moves frame into separate module