Fwd: Re: [sword-devel] request
sword-devel@crosswire.org
sword-devel@crosswire.org
Sun, 25 Feb 2001 16:48:06 -0600
"Troy A. Griffitts" wrote:
>
> > Thank you Troy for the information.
> > To fully support the ThML spec it would be nice if the parsing mechanism
> > could handle roman numberings like xii etc.
>
> Anyone willing to write a roman numeral parser?
>
> int romanParse(const char *romanNumberString);
>
> that returns a -1 if the string is not a roman numeral, otherwise the
> integer representation of the number.
>
> I'd be happy to try to integrate it into the verse parser.
I'm reasonablly sure here one already written in Perl on CPAN. You'd just
have to translate it to your favorite language
[searching...] Yes there's 2, see http://search.cpan.org/search?dist=Roman or
http://search.cpan.org/search?dist=Text-Roman
Kevin