Laurenz
08a6188123
Remove green/red distinction
2022-05-31 10:40:30 +02:00
Laurenz
fcce3df093
Simplify only_in_mode
to only_in_markup
2022-05-19 13:56:14 +02:00
Laurenz
2791f59ce2
Clean up the parser a bit
2022-04-24 18:00:36 +02:00
Laurenz
790bd536eb
Fix incremental bugs
...
Co-Authored-By: Martin Haug <mhaug@live.de>
2022-04-11 15:39:32 +02:00
Laurenz
b865accae6
Don't allow headings to span multiple lines
2022-04-05 15:04:31 +02:00
Laurenz
beca01c826
Methods
2022-03-18 23:43:58 +01:00
Laurenz
5ac7eb3860
Rename template to content
2022-03-11 23:36:06 +01:00
Laurenz
5ce2a006b6
Consistent block naming
2022-03-11 12:22:27 +01:00
Martin Haug
9fda623b02
Code Review: That's just like your struct, man.
2022-02-23 20:49:47 +01:00
Martin Haug
4c8634c600
Early stop for falling indents.
...
Fix code edits and at_start handling.
Also fix dedenting for multi-byte chars in raw blocks.
2022-02-23 14:50:38 +01:00
Martin Haug
20ac96f27a
New incremental parsing paradigm
...
Also move column offset into scanner.
This fixes #62
2022-02-23 13:58:56 +01:00
Martin Haug
aac3afcba8
Remove Parbreak
as a NodeKind
2022-02-21 13:48:21 +01:00
Laurenz
642e149464
Incremental bug fixes
...
Co-Authored-By: Martin Haug <mhaug@live.de>
2022-02-09 18:15:39 +01:00
Laurenz
5a0e7cc361
Coalesce text and simple spaces for high performance
...
Co-Authored-By: Martin Haug <mhaug@live.de>
2022-02-09 14:56:12 +01:00
Martin Haug
e32e9faa53
Fix incremental group bug
2022-02-03 11:31:53 +01:00
Laurenz
20b1a38414
Switch from Rc
to Arc
2022-01-31 16:47:00 +01:00
Laurenz
fa57d86ed9
Fix another parser bug
2022-01-31 13:57:15 +01:00
Laurenz
8f37189d6f
Fix incremental parsing bugs
2022-01-31 13:26:52 +01:00
Laurenz
490819a3d0
Reorder succession rules
2022-01-31 11:05:59 +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
9c906f92c5
Parse break
, continue
and return
expression
2022-01-28 21:01:36 +01:00
Laurenz
76b1d4a93f
Parse show
and wrap
expressions
2022-01-28 20:02:42 +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
Martin Haug
289122e83c
Deal with offside rule and remove RightWhitespace
2021-11-29 12:06:41 +01:00
Laurenz
12f7335ac3
Clarity and bugfix
...
Fixes a bug where validation would wrongly reject an atomic primary reparse due to trailing whitespace.
Co-Authored-By: Martin <mhaug@live.de>
2021-11-28 22:32:20 +01:00
Martin Haug
e05eb5fda5
Code Review: Parser, I can't let you do this
2021-11-28 18:18:45 +01:00
Martin Haug
edc686d738
Make incremental parsing simpler and move it somewhere else
2021-11-27 16:10:22 +01:00