String-parsing in Nix: Difference between revisions

From NixOS Wiki
imported>Milahu
m See also: String parsing in other FP Languages
imported>Milahu
add links
Line 16: Line 16:
* https://github.com/nix-community/dream2nix/blob/main/src/subsystems/nodejs/translators/yarn-lock/parser.nix
* https://github.com/nix-community/dream2nix/blob/main/src/subsystems/nodejs/translators/yarn-lock/parser.nix
* https://github.com/nix-community/npmlock2nix/pull/29
* https://github.com/nix-community/npmlock2nix/pull/29
* https://github.com/nprindle/nix-parsec/pull/3
=== Lisp ===
* https://github.com/utdemir/nixlisp/blob/main/nix/parser.nix
* https://github.com/nprindle/nix-parsec/pull/4
=== arithmetic ===
https://github.com/nprindle/nix-parsec/tree/master/examples/arithmetic


=== cabal freeze ===
=== cabal freeze ===
Line 24: Line 34:


https://github.com/NixOS/nix/issues/1491#issuecomment-318273971
https://github.com/NixOS/nix/issues/1491#issuecomment-318273971
=== UUID ===
https://github.com/nprindle/nix-parsec/tree/master/examples/uuids
=== Linux kernel config ===
https://github.com/nprindle/nix-parsec/tree/master/examples/kernel-config
=== Python setup.cfg ===
https://github.com/seppeljordan/nix-setuptools/blob/master/lib/setuptools.nix


== Parser generators ==
== Parser generators ==
Line 35: Line 57:
* [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)]
* [https://github.com/purenix-org/purenix purenix - compile PureScript to Nix]
* 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])
** XML parser in pure Haskell ([https://www.google.com/search?q=XML+parser+in+pure+Haskell google])
** XML parser in pure Haskell ([https://www.google.com/search?q=XML+parser+in+pure+Haskell google])

Revision as of 18:56, 17 November 2022