in reply to Parse::RecDescent grammar for RTF
You can find the RTF specification at http://www.wotsit.org/ (like you can most any file format a programmer might need help with), and it includes a sample c reader (Appendix A).
It doesn't look like it'd be too hard to develop a grammar, although it looks like it'd be lots easier to just develop a parser ;)
Anybody looking for a project this smells like a good one.
update:
If you're looking for strategy, try looking at a Latex parser, cause LateX and RTF look very similar if you ask me.
I'm suprised there isn't a opensource library already out there to do this (i know there is a non-free one that looks like it'd be useful).
____________________________________________________
** The Third rule of perl club is a statement of fact: pod is sexy.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Parse::RecDescent grammar for RTF
by Willard B. Trophy (Hermit) on Nov 02, 2002 at 21:43 UTC | |
|
Re: Re: Parse::RecDescent grammar for RTF
by Courage (Parson) on Nov 03, 2002 at 09:47 UTC |