aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-11-19 11:35:41 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-11-19 11:35:41 +0000
commitac68840e79ce74f05ee8b31bb1d528c98b9c7f76 (patch)
tree98e8251d0537197b1c3e53068529f1e5e3114fdc /src
parent2be8b5917a8040fac72e7970e94bbb436e8c35d6 (diff)
* Refactoring: put the Nix expression evaluator in its own library so
that it can be used by multiple programs.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am3
-rw-r--r--src/libexpr/Makefile.am (renamed from src/nix-instantiate/Makefile.am)0
-rw-r--r--src/libexpr/eval.cc (renamed from src/nix-instantiate/eval.cc)0
-rw-r--r--src/libexpr/eval.hh (renamed from src/nix-instantiate/eval.hh)0
-rw-r--r--src/libexpr/fix-expr.cc (renamed from src/nix-instantiate/fix-expr.cc)0
-rw-r--r--src/libexpr/fix-expr.hh (renamed from src/nix-instantiate/fix-expr.hh)0
-rw-r--r--src/libexpr/main.cc (renamed from src/nix-instantiate/main.cc)0
-rw-r--r--src/libexpr/nix.sdf (renamed from src/nix-instantiate/nix.sdf)0
-rw-r--r--src/libexpr/nixexpr.cc (renamed from src/nix-instantiate/nixexpr.cc)0
-rw-r--r--src/libexpr/nixexpr.hh (renamed from src/nix-instantiate/nixexpr.hh)0
-rw-r--r--src/libexpr/parser.cc (renamed from src/nix-instantiate/parser.cc)0
-rw-r--r--src/libexpr/parser.hh (renamed from src/nix-instantiate/parser.hh)0
-rw-r--r--src/libexpr/primops.cc (renamed from src/nix-instantiate/primops.cc)0
-rw-r--r--src/libexpr/primops.hh (renamed from src/nix-instantiate/primops.hh)0
14 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 1f2aafcdb..f06bb1f1d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1 +1,2 @@
-SUBDIRS = bin2c boost libutil libstore libmain nix-store nix-hash nix-instantiate
+SUBDIRS = bin2c boost libutil libstore libmain nix-store nix-hash \
+ libexpr #nix-instantiate
diff --git a/src/nix-instantiate/Makefile.am b/src/libexpr/Makefile.am
index 6fe798501..6fe798501 100644
--- a/src/nix-instantiate/Makefile.am
+++ b/src/libexpr/Makefile.am
diff --git a/src/nix-instantiate/eval.cc b/src/libexpr/eval.cc
index b110c3a4a..b110c3a4a 100644
--- a/src/nix-instantiate/eval.cc
+++ b/src/libexpr/eval.cc
diff --git a/src/nix-instantiate/eval.hh b/src/libexpr/eval.hh
index 0bc052676..0bc052676 100644
--- a/src/nix-instantiate/eval.hh
+++ b/src/libexpr/eval.hh
diff --git a/src/nix-instantiate/fix-expr.cc b/src/libexpr/fix-expr.cc
index e9c5a3ba6..e9c5a3ba6 100644
--- a/src/nix-instantiate/fix-expr.cc
+++ b/src/libexpr/fix-expr.cc
diff --git a/src/nix-instantiate/fix-expr.hh b/src/libexpr/fix-expr.hh
index 6c1e51d9c..6c1e51d9c 100644
--- a/src/nix-instantiate/fix-expr.hh
+++ b/src/libexpr/fix-expr.hh
diff --git a/src/nix-instantiate/main.cc b/src/libexpr/main.cc
index aa6883ff8..aa6883ff8 100644
--- a/src/nix-instantiate/main.cc
+++ b/src/libexpr/main.cc
diff --git a/src/nix-instantiate/nix.sdf b/src/libexpr/nix.sdf
index 615bdb974..615bdb974 100644
--- a/src/nix-instantiate/nix.sdf
+++ b/src/libexpr/nix.sdf
diff --git a/src/nix-instantiate/nixexpr.cc b/src/libexpr/nixexpr.cc
index 816b39dc1..816b39dc1 100644
--- a/src/nix-instantiate/nixexpr.cc
+++ b/src/libexpr/nixexpr.cc
diff --git a/src/nix-instantiate/nixexpr.hh b/src/libexpr/nixexpr.hh
index 011c2900e..011c2900e 100644
--- a/src/nix-instantiate/nixexpr.hh
+++ b/src/libexpr/nixexpr.hh
diff --git a/src/nix-instantiate/parser.cc b/src/libexpr/parser.cc
index b2c74af33..b2c74af33 100644
--- a/src/nix-instantiate/parser.cc
+++ b/src/libexpr/parser.cc
diff --git a/src/nix-instantiate/parser.hh b/src/libexpr/parser.hh
index 5983ec562..5983ec562 100644
--- a/src/nix-instantiate/parser.hh
+++ b/src/libexpr/parser.hh
diff --git a/src/nix-instantiate/primops.cc b/src/libexpr/primops.cc
index 097933115..097933115 100644
--- a/src/nix-instantiate/primops.cc
+++ b/src/libexpr/primops.cc
diff --git a/src/nix-instantiate/primops.hh b/src/libexpr/primops.hh
index 76d587afd..76d587afd 100644
--- a/src/nix-instantiate/primops.hh
+++ b/src/libexpr/primops.hh