How to use rdoc parsers outside of rdoc?

P

Paul Van Delst

Hello,

I want to parse some source code using the parsers that come with rdoc. E.g. use
parse_f95.rb to read a Fortran95 source file and return all the various bits. The
rdoc/parsers documentation isn't very enlightening (to me at least, still a newbie).

The reason I ask is I want to use ruby to automatically generate a bunch of Fortran95 code
based on a derived type (structure) definition. In ruby-speak (I think), I want to
generate the various "standard" public class methods based on a file containing the class
definition.

Hopefully my question makes sense.

Thanks for any info.

cheers,

paulv
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Rdoc 1
[ANN] RDoc 3 6
[ANN] rdoc 3.6 Released 4
[ANN] rdoc 2.5 Released 7
[ANN] rdoc 3.5.2 Released 0
how to get rdoc documentation with merb_generator? 0
[ANN] rdoc 2.5.9 Released 1
[ANN] rdoc 3.1 Released 0

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top