up vote 0 down vote favorite
Share on Facebook

Hi,

Is there a place where I can get documentations/references of all classes and methods of programming languages, namely Ruby, PHP and Python?

It doesn't have to be XML, as long as it is parse-able and consistent. I'm hoping to find all core classes, methods (with parameters and type of return value) and properties. And if available a description of the method.

I need this for a project that I'm currently working on (a text editor with basic completion and type inference). I've already done this for for JavaScript (since the JS reference is relatively small, I created it myself.)

Going to ruby-doc.org I get the documentation as html but the method names/parameters/return value are not consistent at all. Same with PHP from PHP.net

Thanks,

link|flag

2 Answers

up vote 1 down vote

For Ruby take a look at the documentation for Rdoc::Page. You can create a custom template to use as a generation target. So if you have a standard format you are wanting to map all these to you could use that custom template to generate it. So you can just run RDoc against Ruby.

link|flag
up vote 0 down vote

PHP = PHPDocumentor

link|flag

Your Answer

 
or
never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.