2 ms·
Now that you mention composable regexps (or composable grammars), I want some, too. :)
by limmeau 17y ago
Now that you mention composable regexps (or composable grammars), I want some, too. :)
- silentbicycle 17y agoWell, if you're considering Lua, look at LPEG. (http://www.inf.puc-rio.br/~roberto/lpeg/lpeg.html http://www.inf.puc-rio.br/~roberto/lpeg/lpeg.html)
- limmeau 17y ago(Answering myself,) apparently pyparsing[1] composes grammars from grammar objects in the spirit of parser combinators. [1] http://pyparsing.wikispaces.com/ http://pyparsing.wikispaces.com/