Re: [greenstone-users] Query: programming language for plugins

From Michael Dewsnip
DateTue, 03 Jul 2007 17:04:24 +1200
Subject Re: [greenstone-users] Query: programming language for plugins
In-Reply-To (004201c7b98e$5245cff0$6501a8c0-HMG2)
Hi Henry,

Greenstone plugins do have to be written in Perl. However many of them use external C++ (or whatever) programs for file conversion, and are mainly wrappers.

For processing programming source files I'd definitely want to use Perl though, because it's support for regular expressions makes text processing a lot easier than in any other programming language I know. I don't think it's the easiest language to learn, but I'm sure you'll find it extremely useful for all sorts of things once you know it.

Don't forget about SRCPlug, as this should be a good base for what you want to do.

Regards,

Michael
-- 
DL Consulting
Greenstone Digital Library and Digitisation Specialists
contact@dlconsulting.com
www.dlconsulting.com



H.M. Gladney wrote:
Query: programming language for plugins

To support collections of source code, the Software Preservation Group of the Computer History Museum will need to find or write plugins to extract search indices for files in various programming source languages.

Can Greenstone plugins be written in languages other than Perl?  (Perhaps this is feasible with subroutines called by higher level Perl programs.)

If so, does any reader of this posting have examples to share?  (Nobody who can avoid doing so writes a program from scratch.)

Background: I am a GSDL newbie who has never written a Perl program.  If I have to learn Perl, I will do so, but ...

Cheerio, Henry       H.M. Gladney, Ph.D.  http://home.pacbell.net/hgladney


_______________________________________________ greenstone-users mailing list greenstone-users@list.scms.waikato.ac.nz https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users