about summary refs log tree commit diff
path: root/src/libexpr/expr-to-xml.cc
AgeCommit message (Collapse)AuthorFilesLines
2006-10-16 * Big cleanup of the semantics of paths, strings, contexts, stringEelco Dolstra1-14/+8
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-10-11 * Removed URIs from the evaluator (NIX-66). They are now just anotherEelco Dolstra1-3/+0
kind of notation for strings.
2006-10-03 * toXML: propagate the context to allow derivations to be used in theEelco Dolstra1-6/+13
argument.
2006-09-04 * Use a proper namespace.Eelco Dolstra1-2/+7
* Optimise header file usage a bit. * Compile the parser as C++.
2006-08-24 * Refactoring.Eelco Dolstra1-0/+92