diff options
| author | 2022-08-08 16:06:08 +0200 | |
|---|---|---|
| committer | 2022-08-08 16:06:08 +0200 | |
| commit | fc55daf22dd890860ac9c1a0a29900977a700df2 (patch) | |
| tree | 96735ed737ae499c9dbbf54ad7bec44c6a4b6eb0 /src/parse.hff | |
| parent | cc325dce01101e8b488cfc7e9fddfe0f778c7e17 (diff) | |
start self hosted comler
Diffstat (limited to 'src/parse.hff')
| -rw-r--r-- | src/parse.hff | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/parse.hff b/src/parse.hff new file mode 100644 index 0000000..463dd26 --- /dev/null +++ b/src/parse.hff @@ -0,0 +1,18 @@ +struct Loc { + fileid u16, + idx isize, + col int, + line int, +} + +#[lax] +enum TokT { + kw_or +} + +struct Tok { + t int, + u union { + i i64 + }, +} |