String-parsing in Nix
String parsers
Some string parsers written in Nix
yaml
toml
yarn.lock
- https://github.com/nix-community/dream2nix/blob/main/src/subsystems/nodejs/translators/yarn-lock/parser.nix
- https://github.com/nix-community/npmlock2nix/pull/29
cabal freeze
IPv4 addresses
https://github.com/NixOS/nix/issues/1491#issuecomment-318273971
Parser generators
Generate parser from grammar
See also
- Add an Earley parser builtin (nix#1491)
- fromXML builtin? (nixpkgs#57239)
- String parsing in other Functional Programming Languages