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 /default.nix | |
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 'default.nix')
| -rw-r--r-- | default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/default.nix b/default.nix new file mode 100644 index 0000000..0bac3a3 --- /dev/null +++ b/default.nix @@ -0,0 +1,6 @@ +{ pkgs ? import <nixpkgs> { }, ... }: +pkgs.mkShell { + packages = [ + pkgs.zig + ]; +} |