John Wiegley
94e0be3882
Reformat all sources with Brittany, to restore consistency
2019-03-17 14:47:38 -07:00
Madeline Haraj
28ab983408
Add syntactic holes
2019-03-10 10:23:28 -07:00
Silvan Mosberger
292d760b12
freeVars: Fix inherit's in rec sets and let in
...
Previously freeVars (rec { inherit y; }) would report nothing, when
really the `y` variable is free. The same for `let inherit y; in y`
2018-11-16 17:59:03 +01:00
Silvan Mosberger
f189b69f51
More precise freeVars
2018-09-11 05:23:58 +02:00
John Wiegley
0d6b6e7807
Allow Nix quasi-patterns
...
For example:
foo [nix| 2 + 3 |] = ...
Is equivalent to pattern matching on the constructors that make up the parsed
version of the expression. This can make it much quicker to identify pattern
you're looking for in a parsed body of Nix code.
2018-05-10 01:18:28 -07:00
John Wiegley
13edc1da30
Allow Nix quasi-quoter to refer to and promote Haskell variables
2018-05-10 01:14:13 -07:00
John Wiegley
9d7f25d368
All is building with Megaparsec now, but many parsing tests fail
2018-04-09 17:12:16 -07:00
John Wiegley
a704bb045f
Commit the src/ directory
2018-04-07 12:02:50 -07:00