Commit Graph

414 Commits

Author SHA1 Message Date
Tom Alexander
0d07a6aad3
Initial structure for dynamic blocks. 2023-04-19 13:30:15 -04:00
Tom Alexander
6cb536169d
Build static binaries for release. 2023-04-19 00:42:08 -04:00
Tom Alexander
4a21205956
Optimize the release build.
This shaved a 7MB binary down to 2MB.
2023-04-19 00:22:25 -04:00
Tom Alexander
d69522c7dc
Remove the compare binary since this is now integrated with the tests. 2023-04-19 00:12:14 -04:00
Tom Alexander
7649ff7990
Make a release build. 2023-04-19 00:09:25 -04:00
Tom Alexander
80afe795cd
Print out the org source text also. 2023-04-18 23:57:57 -04:00
Tom Alexander
cb38ffc520
Merge branch 'integration_tests' 2023-04-18 23:53:16 -04:00
Tom Alexander
b0965bebe6
Remove old script for invoking the tests. 2023-04-18 23:53:06 -04:00
Tom Alexander
72c8da94a3
Hook the integration tests into rust's test framework.
Instead of using a hacked-together shell script, use rust's test framework to do the comparison.
2023-04-18 23:50:58 -04:00
Tom Alexander
fba80f4f7b
Merge branch 'nesting_same_objects' 2023-04-18 22:20:52 -04:00
Tom Alexander
400e253cf1
Don't give paragraph a context since it just contains objects. 2023-04-18 22:18:21 -04:00
Tom Alexander
45d0ce17c3
Do not allow elements to immediately nest inside themselves.
Plain list is omitted because they can nest.
2023-04-18 22:10:44 -04:00
Tom Alexander
3a3cee337c
To pass this test, we need to not allow nesting of elements directly inside themselves. 2023-04-18 21:47:07 -04:00
Tom Alexander
09442a0530
Oddly enough emacs is breaking up lines with 🔚 as a separate paragraph when regular letters would get combined. 2023-04-18 21:41:13 -04:00
Tom Alexander
c9109d1a13
Merge branch 'exit_matcher_priority' 2023-04-18 21:37:09 -04:00
Tom Alexander
13a2ba1dc5
Handle greater blocks with only blank space inside them. 2023-04-18 21:28:22 -04:00
Tom Alexander
0effc7c087
You can have a block containing only whitespace which gets matched as a paragraph whose value is just a single newline. 2023-04-18 20:58:25 -04:00
Tom Alexander
a2051aca4f
Remove ChainBehavior. 2023-04-18 20:44:58 -04:00
Tom Alexander
35eff51d1b
First implementation moving over to the new exit matcher class system. 2023-04-18 20:33:01 -04:00
Tom Alexander
fcd5c7d3cd
Add an enum for exit class. 2023-04-17 21:16:39 -04:00
Tom Alexander
98a46cd707
More notes. 2023-04-17 20:53:51 -04:00
Tom Alexander
5eccc55143
Merge branch 'paragraph_priotity_tests' 2023-04-17 20:41:24 -04:00
Tom Alexander
dc5fc863f5
Add more paragraph tests. 2023-04-17 20:40:23 -04:00
Tom Alexander
867a55fbf7
More paragraph tests. 2023-04-17 20:33:51 -04:00
Tom Alexander
4dd18006a5
Add some tests for paragraphs. 2023-04-17 20:13:07 -04:00
Tom Alexander
4abff12cdd
Merge branch 'drawer' 2023-04-17 19:54:59 -04:00
Tom Alexander
8b811bec95
Count pass/fail stats for compare parse script. 2023-04-17 19:54:33 -04:00
Tom Alexander
89040c51a6
Update test case 1. 2023-04-17 19:45:50 -04:00
Tom Alexander
49be5ae7b1
Identify a mistake in the plain list drawer test. 2023-04-17 17:29:35 -04:00
Tom Alexander
f1880fdb7d
Add plain list first tests. 2023-04-17 16:41:58 -04:00
Tom Alexander
16218ec040
Add footnote definition first tests. 2023-04-16 18:01:47 -04:00
Tom Alexander
4c4d79a665
Add the dynamic block first tests. 2023-04-16 17:56:03 -04:00
Tom Alexander
a6036e257e
Add the drawer second tests. 2023-04-16 17:50:16 -04:00
Tom Alexander
beff8f8999
Add the drawer first tests. 2023-04-16 17:41:14 -04:00
Tom Alexander
ed6fda9918
Add the greater block second tests. 2023-04-16 17:33:33 -04:00
Tom Alexander
6da7cb2c17
Add greater block first tests. 2023-04-16 17:18:41 -04:00
Tom Alexander
e20bd793be
Include comment about section-first and section-second tests. 2023-04-16 17:08:56 -04:00
Tom Alexander
70596dc27b
Add all the section-first tests. 2023-04-16 17:06:08 -04:00
Tom Alexander
f41197b096
Add the first test. 2023-04-16 16:55:53 -04:00
Tom Alexander
d155ca1027
Set up an experiment for figuring out exit matcher priority. 2023-04-16 16:48:22 -04:00
Tom Alexander
0be554bfb6
Add an example of headlines breaking a drawer. 2023-04-16 15:55:39 -04:00
Tom Alexander
31f6914194
Add code to compare drawers. 2023-04-15 18:00:34 -04:00
Tom Alexander
9e4bf553d3
First attempt at implementing drawers. 2023-04-15 17:56:07 -04:00
Tom Alexander
1f7c24545b
Initial structure for drawer. 2023-04-15 17:36:07 -04:00
Tom Alexander
ea74e329b2
Merge branch 'comment' 2023-04-15 17:10:00 -04:00
Tom Alexander
50d05b99be
Require space after hash in comment if comment line is not empty. 2023-04-15 17:08:22 -04:00
Tom Alexander
6e4aa38fce
Add test demonstrating problem. 2023-04-15 17:04:47 -04:00
Tom Alexander
4e460e4a8c
Consume line ending in comments. 2023-04-15 16:59:30 -04:00
Tom Alexander
33bc1af17d
First stab at implementing comments. 2023-04-15 16:53:58 -04:00
Tom Alexander
d1a7d0b835
Show that trailing whitespace belongs to comments. 2023-04-15 16:37:25 -04:00