in reply to Parse::RecDescent grammar for RTF

Having installed RTF::Parser on my linux laptop just now, and seeing the README page for that module, it doesn't look like it's in a usable state -- e.g. there doesn't appear to be any documentation for how to use it. (And there wasn't any explicit mention of how old it is -- but the downloaded files under .cpan/build date from July 1999.) This looks like a dead-end, orphaned module. (Should CPAN have something like a garbage-collection process to clear away stuff like this?)

On the other hand, RTF::Tokenizer seems to be quite current, and is documented. You didn't mention what you need to do, but maybe this module will be able to help you out.

Replies are listed 'Best First'.
Re: Re: Parse::RecDescent grammar for RTF
by Willard B. Trophy (Hermit) on Nov 02, 2002 at 13:54 UTC
    I've chatted with Pete Sergeant; I don't think that RTF::Tokenizer will be developed further. It is useful, though, if you are careful to preprocess special characters before running the tokenizer. It really, really doesn't like \~ codes for non-break spaces.

    --
    $,="\n";foreach(split('',"\3\3\3c>\0>c\177cc\0~c~``\0cc\177cc")) {$a++;$_=unpack('B8',$_);tr,01,\40#,;$b[$a%6].=$_};print@b,"\n"