Scalax.IO - GlobMatcher abstraction

2 views
Skip to first unread message

Josh Suereth

unread,
Jul 16, 2009, 9:29:12 PM7/16/09
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

Erik Engbrecht

unread,
Jul 17, 2009, 12:12:42 PM7/17/09
to scala...@googlegroups.com
I shall take a look at it.
Reply all
Reply to author
Forward
0 new messages