3 ms·
Indeed, that is the exact goal. For the little history, I started this for URLs[1]. I couldn't (and still can't) figure out a proper interface for that, but so
by Drup 10y ago
Indeed, that is the exact goal.
For the little history, I started this for URLs[1]. I couldn't (and still can't) figure out a proper interface for that, but someone mentioned he would like something like that for regular expressions, so here it is.
We already have something similar for command line flags in OCaml[2] (and several for JSON).
[1]: https://github.com/Drup/furl https://github.com/Drup/furl
[2]: http://erratique.ch/software/cmdliner http://erratique.ch/software/cmdliner