Re:Parsley: a simple language for extracting structured data...
by nvader on Sunday January 11, 2015 @11:10PM
(#8872463)
(also replying to siblings)
Parsley is just so good a name. It has the word parse as a kangaroo, and it evokes the image of fresh, green, edible.
I just ran
grep /usr/share/dict/words -e "^pars[^']*[^s]$"
to find the following list of words beginning with pars parse
parsec
parsed
parser
parsimony
parsing
parsley
parsnip
parson
parsonage
I think I might call my next parsing-oriented tool either parson or parsnip. :)
Re:Parsley: a simple language for extracting structured data...
by bshimmin on Monday January 12, 2015 @01:56AM
(#8872786)
I was interested in "kangaroo"; Wikipedia suggests a kangaroo word should, in addition to having the same letters and in the same order as its parent, also have the same meaning (eg. masculine -> male), so "parse" isn't quite a kangaroo for "parsley", apparently. It'd be a moderately fun little challenge to write a little program to find some kangaroos - though Wiktionary (predictably) has a nice list already here: http://en.wiktionary.org/wiki/Appendix:Kangaroo_words
"Parsley" is indeed a great name. I'll contribute another Parsley - a Flex framework of yore also bore that name.
Re:Parsley: a simple language for extracting structured data...
by nvader on Monday January 12, 2015 @05:32AM
(#8873163)
The reason I thought it was a kangaroo was specifically because it was being used as a name for a parsing library.
After a library is named "Parsley", the list of meanings for Parsley now includes "A parsing library", and so I see it as a kangaroo for Parse.
Re:Parsley: a simple language for extracting structured data...
by JadeNB on Monday January 12, 2015 @02:34PM
(#8875903)
> grep /usr/share/dict/words -e "^pars[^']<star>[^s]$"
(I changed a literal asterisk to <star> to avoid formatting.) You get a few more options if you remove the anchor at the beginning:
grep /usr/share/dict/words -e "pars[^']<star>[^s]$"
For example, 'sparse' seems like a good name for a lightweight parser library.
Re:Parsley: a simple language for extracting structured data...
by abecedarius on Monday January 12, 2015 @11:57AM
(#8874907)
I'm afraid there's https://github.com/darius/parson already too. (I went through the same process to name it -- there's not much left in that well, is there?)
Re:Parsley: a simple language for extracting structured data...
by nvader on Sunday January 11, 2015 @11:12PM
(#8872470)
Oops, looks like I was beaten by cgrand himself. https://github.com/cgrand/parsnip
Re:Parsley: a simple language for extracting structured data...
by jshprentz on Sunday January 11, 2015 @09:19PM
(#8872196)
Or Parsley: a pattern-matching language based on OMeta and Python
Re:Parsley: a simple language for extracting structured data...
by zo1 on Monday January 12, 2015 @05:27AM
(#8873150)
Or a PEG grammar parser written in python:
Re:Parsley: a simple language for extracting structured data...
by fizx on Monday January 12, 2015 @04:43PM
(#8876605)
First commit on fizx/parsley was in 2008. The library was open-sourced in 2009. This predates all of the name conflicts so far mentioned, though no doubt someone used the name before in some capacity.
https://github.com/cgrand/parsley