String-parsing in Nix: Difference between revisions
imported>Milahu init |
imported>Milahu m See also: String parsing in other FP Languages |
||
Line 35: | Line 35: | ||
* [https://github.com/NixOS/nix/issues/1491 Add an Earley parser builtin (nix#1491)] | * [https://github.com/NixOS/nix/issues/1491 Add an Earley parser builtin (nix#1491)] | ||
* [https://github.com/NixOS/nixpkgs/issues/57239 fromXML builtin? (nixpkgs#57239)] | * [https://github.com/NixOS/nixpkgs/issues/57239 fromXML builtin? (nixpkgs#57239)] | ||
* String parsing in other Functional Programming Languages | |||
** String parsing in Haskell ([https://www.google.com/search?q=String+parsing+in+Haskell google]) | |||
** XML parser in pure Haskell ([https://www.google.com/search?q=XML+parser+in+pure+Haskell google]) |
Revision as of 17:54, 17 November 2022
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