Josh Suereth
unread,Jul 16, 2009, 9:29:12 PM7/16/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to scala...@googlegroups.com
So, I was working on the GlobMatcher stuff (I believe I incorrectly named the class GlobMapper... different idea). Anyway, I wanted to know if you could take a look at my proposed implementation (in the branch). I decided to use Parser-Combinators to parse out glob patterns (e.g. **/*.java -> DirectoryGlob(NextDirectory(FileGlob,StringMatch(".java", End)))) ). The "compiled" pattern is then used to test "canonical" file paths. I'm planning to change the foreach loops that make use of glob-mappers to more intelligently parse directory trees (hence the "subPathCouldMatch" function).
Anyway, I have some performance concerns with my implementation, but was focused on correctness first. Anyone mind taking a look and offering comments?
Thanks,
- Josh