diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2025-04-24 15:10:14 +0200 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2025-04-24 15:10:14 +0200 |
| commit | 9456f4e2b569b393d6c01784a4545b11b32e16ef (patch) | |
| tree | 7b4eeab3d0dd4c273de025db19f6be52d9cd1f1d /src/main.zig | |
Implement grammar parser
This implements the grammar struct together with
some other helpful structures like char-set and character.
The grammar struct parses a grammar file and also generates
the FIRST and FOLLOWS tables.
Diffstat (limited to 'src/main.zig')
| -rw-r--r-- | src/main.zig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main.zig b/src/main.zig new file mode 100644 index 0000000..62877cb --- /dev/null +++ b/src/main.zig @@ -0,0 +1,10 @@ +const std = @import("std"); + +pub const grammar = @import("grammar.zig"); + +pub fn main() !void { +} + +test { + std.testing.refAllDecls(@This()); +} |