diff options
| author | Kai Stevenson <kai@kaistevenson.com> | 2023-06-11 16:18:21 -0700 |
|---|---|---|
| committer | Kai Stevenson <kai@kaistevenson.com> | 2023-06-11 16:18:21 -0700 |
| commit | d063e3c2c6f4b1566c28d0ea92186f356017f99f (patch) | |
| tree | af7b093f016d16a4902a9094d120f1a33bee64b6 /parse.h | |
| parent | 2a232f8f42c0a7d5a7b648358a192c21865a55f6 (diff) | |
parsing propositions works now. added some debugging tools
Diffstat (limited to 'parse.h')
| -rw-r--r-- | parse.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -9,5 +9,10 @@ typedef struct LineSet { line_t* lines; int count; } lineSet_t; +line_t init_line(prop_t proposition, just_t justification); lineSet_t init_lineset(line_t* lines, int count); +int count_lines(char* content); +lineSet_t parse_lines(char* content, int lineCount); +line_t parse_line(char* content); +prop_t parse_proposition(tokenSet_t tokenSet, int* tokensRead); #endif |
