On Aug 18, 2006, at 12:32 PM, Dr. Scott Steinman wrote:

As some of you know, I've been working on an open-source development tool for REALbasic called Reality Check, which examines REALbasic program code for design errors.

To determine whether or not a symbol in a REALbasic program has been defined in the REALbasic frameworks and determine its type (or return type if it's a method), I need to have information about all symbols in the frameworks. Without direct access to framework symbol information or class introspection to get at least some of this information, my only other option is to parse the Language Reference HTML pages and try to build a table of framework symbols from it.

So far, my only idea is to start with the LR's topiclist.html file and follow each of its links to get documentation on classes, modules, directives, and constants. However, this would be complicated by the extensive cross-linking of the HTML files and the possibility of circular references.

I'd appreciate any ideas or strategies anybody can offer for performing this parsing!!

The LR is, as we all know, incomplete so as a starting point it's not perfect.

Parsing the various Framework.o files inside the RB package should be accurate, but you have to break your license agreement's non-reverse engineering clause to do this.

Using every statement from RB in a single program, saving it as XML and then reading the XML should also be accurate, but time consuming to put together.

not sure what other options there might be

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to