in reply to How to implement something similar to Unix's find syntax?

I'd suggest to write a very simple recursive descending parser, that should be easy without exceeding 30 simple lines.

If you have absolutely no clue about it, read the first two chapters of Let's Build a Compiler, it's no deep magic at all. Perhaps Parse::RecDescent can help you with that

P.S does anybody know a more up to date but equally simple introduction to parsers and compilers?

  • Comment on Re: How to implement something similar to Unix's find syntax?