https://github.com/adnelson/simple-nix
Simple parsing/pretty printing for Nix expressions
https://github.com/adnelson/simple-nix
Last synced: 3 months ago
JSON representation
Simple parsing/pretty printing for Nix expressions
- Host: GitHub
- URL: https://github.com/adnelson/simple-nix
- Owner: adnelson
- License: mit
- Created: 2015-06-17T05:32:00.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2018-12-11T17:18:25.000Z (over 7 years ago)
- Last Synced: 2026-02-08T11:29:20.713Z (4 months ago)
- Language: Haskell
- Size: 25.4 KB
- Stars: 6
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Straightforward library for parsing Nix and pretty-printing.
# Deprecated
*TL;DR*: use [hnix](https://github.com/jwiegley/hnix) instead.
I made this library initially for my [nixfromnpm](https://github.com/adnelson/nixfromnpm) project. However, there is also the library [hnix](https://github.com/jwiegley/hnix), which does mostly the same thing. I, although a bit biased, think there are a few advantages of my library, primarily in terms of simplicity (hence the name) and at least for a time the language coverage was a bit more complete. However, I decided to go with the library that came first and have since contributed a bit to `hnix` to shore it up in certain ways. I also removed its usage from `nixfromnpm` and switched to using `hnix`, and I haven't worked on this library in quite a long time, as you can see. So, although I think there might be some value to this library, and everyone is welcome to fork it or use it as a jumping-off point, I'm deprecating it in favor of `hnix`.