Eelco Dolstra
efe4b690ae
* Refactoring: combine functions that take an attribute set and
...
functions that take a single argument (plain lambdas) into one AST
node (Function) that contains a Pattern node describing the
arguments. Current patterns are single lazy arguments (VarPat) and
matching against an attribute set (AttrsPat).
This refactoring allows other kinds of patterns to be added easily,
such as Haskell-style @-patterns, or list pattern matching.
2008-08-14 10:04:22 +00:00
Eelco Dolstra
5664b6d7ba
* Removed the "valid values" feature. Nobody uses it anyway.
2008-08-11 13:36:40 +00:00
Eelco Dolstra
f23dcdd603
* Canonicalise ASTs in `nix-instantiate --eval': remove position
...
info, sort attribute sets.
2007-01-13 16:17:07 +00:00
Eelco Dolstra
9e30694f98
* Fix the tests wrt the AST changes, i.e., Str(s) -> Str(s, []), and
...
the semantic changes.
2006-10-17 11:08:59 +00:00
Eelco Dolstra
7d4567f2cc
* Removed URIs from the evaluator (NIX-66). They are now just another
...
kind of notation for strings.
2006-10-11 21:59:33 +00:00
Eelco Dolstra
57751fdb55
* Refactoring to support domain checks.
2006-07-24 15:16:03 +00:00
Eelco Dolstra
ed09821859
* Use atdiff' instead of
cmp' for checking test output.
...
* Don't use local file names in tests since they will produce
different parse trees depending on the current directory.
2004-10-27 13:12:58 +00:00
Eelco Dolstra
463e2817c5
* Remove ancient Fix tests.
...
* Add automated Nix expression language tests.
2004-10-27 12:41:53 +00:00