summaryrefslogtreecommitdiff
path: root/src/syntax/node.rs
AgeCommit message (Collapse)Author
2023-03-31FIX lint clippy::len_without_is_empty (#451)Marek BarvΓ­Ε™
2023-03-11Jump to source and previewLaurenz
2023-02-23Merge main backLaurenz
2023-02-23Switch to ecowLaurenz
2023-02-17Impl `Eq` for syntax tree typesLaurenz
2023-02-13Let `eval` take code instead of markupLaurenz
2023-01-29HTML highlightingLaurenz
2023-01-28Remove method call syntax kindLaurenz
2023-01-28More capable math callsLaurenz
2023-01-27Autocomplete methodsLaurenz
2023-01-27Hashtags everywhere!Laurenz
2023-01-20Fix a few clippy lintsLaurenz
2023-01-20Rewrite parserLaurenz
2023-01-15Remove most fields from `SyntaxKind` enumLaurenz
2023-01-14Reorganize syntax moduleLaurenz
2022-11-22Rename two syntax typesLaurenz
2022-11-22Make inner node and node data privateLaurenz
2022-11-04Style changesLaurenz
2022-11-03Split cratesLaurenz
2022-10-17Merge some modulesLaurenz
2021-09-15Rename `SyntaxTree` to `Markup`Laurenz
Also `SyntaxNode` -> `MarkupNode`.
2021-08-21Prune derivesLaurenz
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-13Optimize memory sizesLaurenz
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-10Reference-count complex valuesLaurenz
Rename some nodes types
2021-07-10Eco string 🌱Laurenz
2021-06-30No more collisions between syntax::Tree and layout::TreeLaurenz
2021-06-26Cleanse libraryLaurenz
- Remove doc-comments for Typst functions from library - Reduce number of library source files
2021-06-11Basic enumsLaurenz
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-04-21Make frames serializable πŸ“šLaurenz
This also makes serialization support non-optional since it's too much feature-management for too little benefit.
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
2021-02-11Move all pretty printing into one module and pretty print values πŸ¦‹Laurenz
2021-02-09Add arguments value πŸ“Laurenz
2021-02-09Split evaluation and execution πŸ”ͺLaurenz
2021-02-04Fix counting bug βœ…Laurenz
2021-02-03Tidy up raw blocks 🧹Laurenz
- Better trimming (only trim at the end if necessary) - Fixed block-level layouting - Improved pretty printing - Flip inline variable to block - Flip inline variable to display for math formulas
2021-01-30Interpret two backticks as single-backtick block βœ…Laurenz
2021-01-30New syntax πŸ’ŽLaurenz
- Everything everywhere! - Blocks with curly braces: {} - Templates with brackets: [] - Function templates with hashtag: `#[f]` - Headings with equals sign: `= Introduction`
2021-01-26More straightforward pretty printing tests 🧹Laurenz
2021-01-12Group and block expressions, unary plus 🧩Laurenz
2021-01-10Braced content -> Bracketed templates ✏Laurenz
2021-01-06Inline literal enum into expression enum πŸ”€Laurenz
2021-01-06Pretty printing πŸ¦‹Laurenz
- Syntax tree and value pretty printing - Better value evaluation (top-level strings and content are evaluated plainly, everything else is pretty printed)
2021-01-03Move and rename many things πŸš›Laurenz
2021-01-02Dynamic values, Types, Arrays, and Dictionaries πŸš€Laurenz
- Identifiers are now evaluated as variables instead of being plain values - Constants like `left` or `bold` are stored as dynamic values containing the respective rust types - We now distinguish between arrays and dictionaries to make things more intuitive (at the cost of a bit more complex parsing) - Spans were removed from collections (arrays, dictionaries), function arguments still have spans for the top-level values to enable good diagnostics
2021-01-01A few small improvements β™»Laurenz
2021-01-01Better parser testing βœ…Laurenz