Re: Module Submission: Regexp::MultiLanguage
- From: robby.walker@xxxxxxxxx
- Date: 22 Jun 2006 14:40:11 -0700
Yes - it's easily extendable - there's 5 functions you have to write
for your Regexp::MultiLanguage::YourLanguage module. Each 'dialect' is
generally only 20 lines long - at this point the three languages that
are there were just the top priorities.
- Robby
Sherm Pendley wrote:
robby.walker@xxxxxxxxx writes:
I'm working on a project where I need to use a set of common regular
expressions in more than one programming language. To facilitate this,
I've written Regexp::MultiLanguage which parses a simple language and
produces code that works in Perl, PHP, and JavaScript. (plus, adding
new languages is easy) Sound useful? Is this already implemented? Is
the name OK?
It sounds like it might be useful, and I've no issues with the name, but
it does sound rather incomplete. What about sed, Java, PCRE, etc?
More to the point I suppose, do you plan to provide a mechanism for users
to add new language support modules? Regexp::MultiLanguage::Java for
instance. If you do provide such a mechanism, then the languages that
happen to be supported by the "core" module becomes much less critical.
sherm--
--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
.
- References:
- Module Submission: Regexp::MultiLanguage
- From: robby . walker
- Re: Module Submission: Regexp::MultiLanguage
- From: Sherm Pendley
- Module Submission: Regexp::MultiLanguage
- Prev by Date: Re: Module Submission: Regexp::MultiLanguage
- Next by Date: Net::LDAP makefile generation fails on ActiveState Perl 5.8.8
- Previous by thread: Re: Module Submission: Regexp::MultiLanguage
- Next by thread: Net::LDAP makefile generation fails on ActiveState Perl 5.8.8
- Index(es):
Relevant Pages
|
|