String-parsing in Nix: Difference between revisions

imported>Milahu
add parsers: xml, mix.lock + text + format
Klinger (talk | contribs)
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
Some string parsers written in Nix
Some string parsers written in Nix


=== yaml ===
=== YAML ===


* https://github.com/DavHau/fromYaml
* https://github.com/DavHau/fromYaml
* https://github.com/arcnmx/nixexprs/blob/master/lib/from-yaml.nix
* https://github.com/arcnmx/nixexprs/blob/master/lib/from-yaml.nix


=== toml ===
=== TOML ===


* https://github.com/mozilla/nixpkgs-mozilla/blob/master/lib/parseTOML.nix
* https://github.com/mozilla/nixpkgs-mozilla/blob/master/lib/parseTOML.nix


=== xml ===
=== XML ===


* https://github.com/nprindle/nix-parsec/pull/6
* https://github.com/nprindle/nix-parsec/pull/6
Line 36: Line 36:
* https://github.com/nprindle/nix-parsec/pull/4
* https://github.com/nprindle/nix-parsec/pull/4


=== arithmetic ===
=== Arithmetic ===


* https://github.com/nprindle/nix-parsec/tree/master/examples/arithmetic
* https://github.com/nprindle/nix-parsec/tree/master/examples/arithmetic
Line 83: Line 83:
* String parsing in other Functional Programming Languages
* String parsing in other Functional Programming Languages
** String parsing in Haskell ([https://www.google.com/search?q=String+parsing+in+Haskell google])
** String parsing in Haskell ([https://www.google.com/search?q=String+parsing+in+Haskell google])
[[Category:nix]]
[[Category:Development]]