diff options
| author | Ákos Kőrösi <korakos99@gmail.com> | 2026-05-12 10:23:03 +0200 |
|---|---|---|
| committer | Ákos Kőrösi <korakos99@gmail.com> | 2026-05-12 10:23:03 +0200 |
| commit | 52f705e81ce2d7a42c6c14fca92c5e2a4326c988 (patch) | |
| tree | 90c7ba2324f4d2e531a45cdefd827ab1177803ba /lex.h | |
| parent | f0016d8946958d029706b39ecd233044d3cf93f5 (diff) | |
wire up a basic test main with the lexing
Diffstat (limited to 'lex.h')
| -rw-r--r-- | lex.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -76,4 +76,12 @@ DECLARE_MAYBE(Chunk); DECLARE_VEC(ExpansionRegion, ExpansionRegionVec) + +typedef struct { + TokenVec top_tokens; + ExpansionRegionVec reg_arena; +} LexResult; + + +LexResult lex(char* input); #endif |
