compressed intent into journal
This commit is contained in:
parent
343656e58a
commit
fd4797ff83
46
language.txt
46
language.txt
@ -1,31 +1,41 @@
|
|||||||
__lines__
|
__lines__
|
||||||
--label: string
|
--keyword: string
|
||||||
--label
|
--keyword
|
||||||
->(#,#) label
|
->(double,double) string
|
||||||
->label
|
->string
|
||||||
[ed: date] string
|
[ed: Y-MM-DD] text
|
||||||
[contact: label] string
|
[contact: string] text
|
||||||
[book: title] string
|
[book: string] text
|
||||||
[tv: label] string
|
[tv: string] text
|
||||||
[movie: label] string
|
[movie: string] text
|
||||||
[medication] string
|
[medication] text
|
||||||
[vaccine: label] string
|
[vaccine: string] text
|
||||||
[in: amount] string
|
[in: currency] text
|
||||||
[flight] type; regn; apt1 -- apt2; pic1; pic2; dual; solo; ; ;
|
[flight] type; regn; apt1 -- apt2; pic1; pic2; dual; solo; ; ;
|
||||||
[gliding] ...
|
[gliding] ...
|
||||||
[cra: line] amount
|
[cra: unsigned currency] text
|
||||||
[idea: string] string
|
[idea: string] text
|
||||||
[document: label] string
|
[document: string] text
|
||||||
[mail: string] string
|
[mail: string] text
|
||||||
Bible 1:1 -- ignored
|
Bible 1:1 -- ignored
|
||||||
[DD-DD, DD:DD] name: message (Whatsapp)
|
|
||||||
!checked off
|
!checked off
|
||||||
^crossed off
|
^crossed off
|
||||||
<-[[Y-]MM-]DD
|
<-[[Y-]MM-]DD
|
||||||
[[Y-]MM-]DD->
|
[[Y-]MM-]DD->
|
||||||
1. Numbered list
|
unsigned. Numbered list
|
||||||
* Unordered list
|
* Unordered list
|
||||||
# Heading
|
# 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__
|
__tags__
|
||||||
...<medical>...
|
...<medical>...
|
||||||
|
@ -15,8 +15,8 @@ int main(void) {
|
|||||||
struct journal jrnl = {0};
|
struct journal jrnl = {0};
|
||||||
errno = 0;
|
errno = 0;
|
||||||
|
|
||||||
intent = "loading journal";
|
intent = "../journal";
|
||||||
jrnl = journal("../journal");
|
jrnl = journal(intent);
|
||||||
fprintf(stderr, "Journal: %s.\n", journal_to_string(&jrnl));
|
fprintf(stderr, "Journal: %s.\n", journal_to_string(&jrnl));
|
||||||
if(errno) goto catch;
|
if(errno) goto catch;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user