Tom Alexander
0b2a5f4fbf
Change all runtime asserts in private functions to debug_assert.
...
rustfmt Build rustfmt has succeeded
rust-test Build rust-test has succeeded
rust-build Build rust-build has succeeded
rust-foreign-document-test Build rust-foreign-document-test has succeeded
These functions aren't exposed to the public so we can confidently say that if they work in dev then they will work in production. Removing these asserts theoretically should result in a speedup.
2023-09-23 21:17:58 -04:00
Tom Alexander
a651b79e77
Move sexp into compare.
2023-09-11 15:37:20 -04:00
Tom Alexander
7de72cab23
Move the sexp parser into the parser crate.
...
We need to parse sexp for diary sexp.
2023-04-21 20:32:51 -04:00
Tom Alexander
18323a2b43
Solve the rest of the compiler warnings.
2023-04-21 18:42:31 -04:00
Tom Alexander
a1724dae52
Combine the error types.
2023-04-21 18:36:01 -04:00
Tom Alexander
04dfffc000
Cleaning up compiler warnings.
2023-04-21 18:22:17 -04:00
Tom Alexander
142bb09879
Move the impl of Source to the same file as the definition of the struct.
2023-04-21 16:16:14 -04:00
Tom Alexander
52b401d548
comparing begin and end offsets for top-level sections and headlines.
2023-04-11 19:16:04 -04:00
Tom Alexander
287cc8dea3
Just barely starting to diff the two parsed forms.
2023-04-11 17:35:09 -04:00
Tom Alexander
5305ae7627
Fix ending atoms at end of list.
2023-04-11 16:28:56 -04:00
Tom Alexander
8df02fa8b9
Handle text with properties.
2023-04-11 16:02:57 -04:00
Tom Alexander
3bdb1e3841
Beginning of handling quoted strings.
2023-04-11 15:28:05 -04:00
Tom Alexander
5d7ca1b966
Fix handling of whitespace.
2023-04-11 15:08:46 -04:00
Tom Alexander
751a3beffd
Implement a very basic first stab at lisp parser.
2023-04-11 14:50:37 -04:00