summaryrefslogtreecommitdiff
path: root/src/syntax/token.rs
AgeCommit message (Collapse)Author
2021-11-05Reorganize syntax moduleMartin Haug
2021-11-05Unicode escape error moved to tokenizerMartin Haug
2021-11-05Slim `NodeKind` memory footprintMartin Haug
2021-11-05Change parserMartin Haug
2021-09-15Bugfix and tidyingLaurenz
2021-08-21Prune derivesLaurenz
2021-08-13Optimize memory sizesLaurenz
2021-07-08Add lots of Eq implsLaurenz
2021-07-08Replace using with fromLaurenz
2021-07-08Switch to = for headings once againLaurenz
2021-06-30Remove color literals (#39)Laurenz
2021-06-29Wide callsLaurenz
2021-06-26With expressionsLaurenz
2021-06-11Basic enumsLaurenz
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-07Switch back to hashtags for headingsLaurenz
2021-05-31Parse import and include expressionsMartin Haug
Co-Authored-By: Laurenz <laurmaedje@gmail.com>
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-18Refresh parser ๐ŸŒŠLaurenz
2021-02-18Refresh tokenizer ๐ŸŒŠLaurenz
2021-02-12Rename any template to func template โœLaurenz
2021-02-09Split evaluation and execution ๐Ÿ”ช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-30New syntax ๐Ÿ’ŽLaurenz
- Everything everywhere! - Blocks with curly braces: {} - Templates with brackets: [] - Function templates with hashtag: `#[f]` - Headings with equals sign: `= Introduction`
2021-01-26Require hashtag for all keywords ๐Ÿ’‚โ€โ™€๏ธLaurenz
2021-01-26Small improvements โ™ปLaurenz
2021-01-13Basic let bindings ๐ŸŽžLaurenz
2021-01-10Add angle value ๐Ÿ“Laurenz
2021-01-10Add lots of new tokens ๐ŸชLaurenz
2021-01-09Add angle data type ๐Ÿ“Laurenz
2021-01-07Remove star-slash token โŒLaurenz
2021-01-06Inline literal enum into expression enum ๐Ÿ”€Laurenz
2021-01-04None literal ๐Ÿ•ณLaurenz
2021-01-03Move and rename many things ๐Ÿš›Laurenz
2021-01-01Better parser testing โœ…Laurenz
2020-12-27Refresh function call and dictionary syntaxLaurenz
- No colon between function name and arguments, just whitespace - "Named" arguments (previously "keyword" arguments) use colon instead of equals sign
2020-12-16Tweak parser error messages ๐Ÿ”ฎLaurenz
2020-12-16Better tokenization testing ๐ŸŒ‹Laurenz
- Better tokenization test coverage. - Suffix testing: Each test case is tested with many different suffixes to ensure correct token ends. - Improves expression parsing (fixes #3).
2020-11-24Use newly stabilized intra doc links โ†ฉLaurenz
2020-10-10Switch back to custom geometry types, unified with layout primitives ๐ŸžLaurenz
2020-10-03Small documentation fixes ๐ŸงพLaurenz
2020-10-03Int, Float, Relative and Linear values ๐Ÿ‰Laurenz
2020-10-02Refactor parser ๐ŸžLaurenz
2020-10-01Implement low-level char parser ๐ŸฅœLaurenz
2020-09-30Refactor raw blocks ๐Ÿ’ฑLaurenz
2020-09-30Reorganize syntax types into two modules ๐Ÿ“ฆLaurenz