summary refs log tree commit diff
path: root/src/libexpr/Makefile.am
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2005-07-16 14:07:35 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2005-07-16 14:07:35 +0000
commitf797cb5855d149c679525f55b1558a5dcc27d996 (patch)
treed4091946aed191d648732aba411b90f32e84f767 /src/libexpr/Makefile.am
parenta5ceb5bc0b2d7fd796cb49e29d45bf568dc0df2f (diff)
downloadguix-f797cb5855d149c679525f55b1558a5dcc27d996.tar.gz
* Revive and update the SDF grammar for Nix expressions.
Diffstat (limited to 'src/libexpr/Makefile.am')
-rw-r--r--src/libexpr/Makefile.am8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libexpr/Makefile.am b/src/libexpr/Makefile.am
index 0186f16d9c..9af7404bcb 100644
--- a/src/libexpr/Makefile.am
+++ b/src/libexpr/Makefile.am
@@ -33,3 +33,11 @@ nixexpr.cc nixexpr.hh: nixexpr-ast.hh
 
 
 CLEANFILES =
+
+
+# SDF stuff (not built by default).
+nix.tbl: nix.sdf
+	sdf2table -m Nix -s -i nix.sdf -o nix.tbl
+
+test.ast: test.nix nix.tbl
+	sglri -p nix.tbl -i test.nix -o test.ast