compressed intent into journal

This commit is contained in:
Neil 2023-04-22 00:37:44 -07:00
parent 343656e58a
commit fd4797ff83
2 changed files with 30 additions and 20 deletions

View File

@ -1,31 +1,41 @@
__lines__
--label: string
--label
->(#,#) label
->label
[ed: date] string
[contact: label] string
[book: title] string
[tv: label] string
[movie: label] string
[medication] string
[vaccine: label] string
[in: amount] string
--keyword: string
--keyword
->(double,double) string
->string
[ed: Y-MM-DD] text
[contact: string] text
[book: string] text
[tv: string] text
[movie: string] text
[medication] text
[vaccine: string] text
[in: currency] text
[flight] type; regn; apt1 -- apt2; pic1; pic2; dual; solo; ; ;
[gliding] ...
[cra: line] amount
[idea: string] string
[document: label] string
[mail: string] string
[cra: unsigned currency] text
[idea: string] text
[document: string] text
[mail: string] text
Bible 1:1 -- ignored
[DD-DD, DD:DD] name: message (Whatsapp)
!checked off
^crossed off
<-[[Y-]MM-]DD
[[Y-]MM-]DD->
1. Numbered list
unsigned. Numbered list
* Unordered list
# Heading
[DD-DD, DD:DD] name: message (Whatsapp)
[1-2^19) Y
[01-12] MM
[01-31] DD
[^\n\0...\[\];] string
# [0-1]*[.[0-1]*]
string | <<\n ([^\n\0...] \n)* >>\n text
... double
... unsigned
... currency
__tags__
...<medical>...

View File

@ -15,8 +15,8 @@ int main(void) {
struct journal jrnl = {0};
errno = 0;
intent = "loading journal";
jrnl = journal("../journal");
intent = "../journal";
jrnl = journal(intent);
fprintf(stderr, "Journal: %s.\n", journal_to_string(&jrnl));
if(errno) goto catch;