93 Commits

Author SHA1 Message Date
Laurenz
bc1bc91a33 Allow adding none and anything 2022-05-16 15:55:50 +02:00
Laurenz
1df621868f Fix control flow bug 2022-05-13 16:39:41 +02:00
Laurenz
778aa4e7df Mutable field access 2022-05-09 00:11:03 +02:00
Laurenz
1927cc86da Set, show, wrap in code blocks 2022-05-09 00:03:57 +02:00
Laurenz
1bca9ccecb Improve diagnostics 2022-05-04 23:26:15 +02:00
Laurenz
2a45650dcc Keyed pairs 2022-05-04 23:12:31 +02:00
Laurenz
e674fd7e90 New raw theme & nicer debug representation 2022-05-04 22:14:57 +02:00
Laurenz
75472fee1a Division for lengths 2022-05-04 22:14:51 +02:00
Laurenz
e18a896a93 Test recursive show rules 2022-05-03 16:43:44 +02:00
Laurenz
d59109e8ff Support recursive show rules 2022-05-03 15:58:15 +02:00
Martin Haug
84a4961a5d Outset; fix folding 2022-05-01 14:56:07 +02:00
Laurenz
f9e115daf5 New block spacing model 2022-04-30 14:12:28 +02:00
Laurenz
7a2cc3e7d2 Field access 2022-04-19 16:37:16 +02:00
Laurenz
2279c26543 Smart quotes
Co-Authored-By: Martin Haug <mhaug@live.de>
2022-04-13 13:08:46 +02:00
Laurenz
1101a8370f Negative array indexing 2022-04-11 16:30:34 +02:00
Laurenz
cd62792c0a Prevent duplicate named arguments and dictionary keys 2022-04-11 16:11:16 +02:00
Laurenz
938b0af889 Spreading into arrays and dictionaries 2022-04-11 15:52:57 +02:00
Laurenz
29eb13ca62 Sum color and length into stroke 2022-04-09 12:02:35 +02:00
Laurenz
712c00ecb7 Em units 2022-04-08 15:45:14 +02:00
Laurenz
1192132dc0 Rename length-related types
`Fractional` => `Fraction`
`Relative` => `Ratio`
`Linear` => `Relative`
2022-04-07 16:19:51 +02:00
Laurenz
beca01c826 Methods 2022-03-18 23:43:58 +01:00
Laurenz
77d153d315 Add in and not in operators 2022-03-15 15:27:36 +01:00
Laurenz
288a926fea Knuth-Plass and MicroType 2022-03-14 20:52:32 +01:00
Laurenz
5ac7eb3860 Rename template to content 2022-03-11 23:36:06 +01:00
Martin Haug
4f09233bda Enable join collection for control flow constructs 2022-02-28 15:41:38 +01:00
Martin Haug
8e0f5993f1 Make loops and functions react to control flow 2022-02-28 13:41:15 +01:00
Laurenz
61d1e1a683 Remove layout-cache feature 2022-02-18 17:33:13 +01:00
Laurenz
d3ccd55d4b Split up styled and sequence template 2022-02-02 16:18:10 +01:00
Laurenz
fa57d86ed9 Fix another parser bug 2022-01-31 13:57:15 +01:00
Laurenz
8d1ce390e2 Rework strong and emph
- Star and underscore not parsed as strong/emph inside of words
- Stars/underscores must be balanced and they cannot go over paragraph break
- New `strong` and `emph` classes
2022-01-30 22:46:59 +01:00
Laurenz
aeb036f4dc Fix that templates don't create a scope 2022-01-29 22:32:57 +01:00
Laurenz
24d513d891 Enable for loop over captured args 2022-01-29 21:36:25 +01:00
Laurenz
9c906f92c5 Parse break, continue and return expression 2022-01-28 21:01:36 +01:00
Laurenz
3a07603b66 Remove unnecessary group 2022-01-28 20:17:30 +01:00
Martin Haug
c994cfa7d8 Code Review: Your parsers were so preoccupied with whether they could 2022-01-04 00:21:33 +01:00
Martin Haug
98c96ba1cb Fix parser / space / error bug 2022-01-02 14:46:08 +01:00
Martin Haug
5f114e18eb Added a test framework for incremental parsing
Fix several errors:

- Indented markup is now reparsed right
- All end group errors will now fail a reparse
- Rightmost errors will always fail a reparse
2022-01-02 00:46:19 +01:00
Laurenz
2a3d0f4b39 Set Rules Episode VII: The Set Awakens 2021-12-15 20:27:41 +01:00
Laurenz
57f5c0a1b1 Set Rules Episode V: The Tests Strike Back 2021-12-15 11:12:38 +01:00
Laurenz
393d74f9bb Layout improvements 2021-11-25 20:51:16 +01:00
Laurenz
89f2e71852 Align node 2021-11-17 17:09:19 +01:00
Laurenz
38c5c36241 Final touches 2021-11-08 13:06:11 +01:00
Laurenz
75fffc1f9b Fine-grained capturing 2021-11-08 11:52:09 +01:00
Laurenz
515fe89c5e Style changes
Co-Authored-By: Martin <mhaug@live.de>
2021-11-05 13:46:42 +01:00
Martin Haug
5c952d56d0 New error handling 2021-11-05 13:46:41 +01:00
Martin Haug
4875633acf Change parser 2021-11-05 13:44:49 +01:00
Laurenz
072e7c710c Reduce namespace pollution 2021-11-02 10:39:45 +01:00
Laurenz
de6786eb28 Allow multiple template bodies 2021-10-29 16:04:55 +02:00
Laurenz
3968181622 Replace .. syntax with range function 2021-10-25 13:38:32 +02:00
Laurenz
f4ed775df0 Make none spreadable 2021-10-10 12:16:28 +02:00