Hi Norman!

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

Believe me, I know that. I've submitted a feature request for hooks to the frameworks symbol table or at least introspection. Until that happens, I think that the LR is my only option. If I can parse it, then my symbol table can be periodically rebuilt by the user as new versions of RB are released. The symbol information may not be up to date, but that's better than no information at all.

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.

Aside from the illegality, there's a problem: without debugging symbol information compiled into Framework.o, it won't be possible to get symbol name information. I might also be wrong about this, but would it be difficult to differentiate global module properties and methods from non-global ones?

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.

That would require constantly updating a program and hoping that I don't accidently neglect a method or property or constant. I ran into the same problem when I tried to write an XML document describing all of the framework symbols.

not sure what other options there might be

Same here. Guess I'll have to bite the bullet and write LR parsing code (and hope that the LR format never changes!). The tough thing is to make sure can it can detect duplicate or circular references in the hypertext links.

-Scott

Scott B. Steinman, O.D., Ph.D., F.A.A.O.
Professor, Southern College of Optometry
Author, "Visual Programming with Prograph CPX", Manning/Prentice- Hall, 1995 (www.manning.com/steinman). Author, "Foundations of Binocular Vision", McGraw-Hill, 2000 (books.mcgraw-hill.com/cgi-bin/pbg/0838526705.html)

1245 Madison Avenue
Memphis, TN 38104-2222
steinman at sco.edu

"In theory, there is no difference between theory and practice. But, in practice, there is." - Jan L.A. van de Snepscheut

Actual post to the Web: "But like I said there to dumb to know any better."


_______________________________________________
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