aboutsummaryrefslogtreecommitdiff
path: root/default.nix
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2025-04-24 15:10:14 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2025-04-24 15:10:14 +0200
commit9456f4e2b569b393d6c01784a4545b11b32e16ef (patch)
tree7b4eeab3d0dd4c273de025db19f6be52d9cd1f1d /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.nix6
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
+ ];
+}