in reply to Create type-safe Collections in Java... with Perl
I see you're not using a grammar parser at all, but just looking for a pattern on each line. Won't that be very difficult to do "right" for quotes, comments, etc.?
Why does it look only for known template types? Why not first recognise the template syntax, then check to see if that template is known (such as in a like-named file)?
—John
|
---|