about summary refs log tree commit diff
path: root/src/libutil/aterm.hh
AgeCommit message (Collapse)AuthorFilesLines
2006-10-16 * Big cleanup of the semantics of paths, strings, contexts, stringEelco Dolstra1-0/+1
concatenation and string coercion. This was a big mess (see e.g. NIX-67). Contexts are now folded into strings, so that they don't cause evaluation errors when they're not expected. The semantics of paths has been clarified (see nixexpr-ast.def). toString() and coerceToString() have been merged. Semantic change: paths are now copied to the store when they're in a concatenation (and in most other situations - that's the formalisation of the meaning of a path). So "foo " + ./bla evaluates to "foo /nix/store/hash...-bla", not "foo /path/to/current-dir/bla". This prevents accidental impurities, and is more consistent with the treatment of derivation outputs, e.g., `"foo " + bla' where `bla' is a derivation. (Here `bla' would be replaced by the output path of `bla'.)
2006-09-04 * Don't need extern "C".Eelco Dolstra1-2/+0
2006-09-04 * Use a proper namespace.Eelco Dolstra1-4/+11
* Optimise header file usage a bit. * Compile the parser as C++.
2004-11-03 * string2ATerm -> overloaded toATerm.Eelco Dolstra1-0/+5
2004-10-29 * Drop ATmake / ATMatcher also in handling store expressions.Eelco Dolstra1-42/+0
2003-11-25 * Allow integer bindings in derivations.Eelco Dolstra1-1/+5
2003-11-18 * "Nix expression" -> "store expression".Eelco Dolstra1-0/+5
* More refactoring.
2003-11-18 * Source tree refactoring.Eelco Dolstra1-0/+77