Hi guys,

following the spirit of "release early, release often" I'd like to point
out that the repository <https://github.com/peti/language-nix> contains
a (mostly complete) Parsec parser for Nix. It can parse all-packages.nix
and other complicated files, but there are known issues. When I try to
parse all of Nixpkgs [1], I still get a dozen errors or so.

Anyway, the library seems to provide a decent enough starting point to
do some hacking, so I felt that I should share it.

Take care,
Peter


[1] run "parse-nix $(find ~/.nix-defexpr -name *.nix ) >/dev/null"

_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to