Does anyone know if the FPC compiler/libraries can generate an AST (Abstract
Syntax Tree) in memory (like a DOM) so that one could spit out a PascalML
XML file (not sure if a DTD or XML-Schema for such a thing exists btw) and
then be able to do static code analysis and metrics, refactoring, convertion
to XML-based flow charts languages, convertion to 3D code explorers (say as
an X3D [VRML3.0] scene) etc.?

For example, if there was a C parser that could spit out XML from C headers,
one could easier generate wrappers for those C headers for Pascal, Java,
.NET etc.

------

I have some free stuff on transcoding online at
http://tranXform.onestop.net

Btw, included is a parser for VB6 forms and convertion to XML description of
them, with a tool that spits out ASP.net webpages from the VB6 form
descriptions (converting their layout to clasic HTML vertical flow layout
[could also use CSS to place as at the VB6 form]). Could easily extend this
to convert to .dfm or .lfm easily for example (or import those too)

----------

In the future I plan to upload a Logo->XML and a Lang->XML converter (the
later is a lab language used at highschool curriculum in Greece)

Cheers,
George

----------------
George Birbilis ([EMAIL PROTECTED])
Microsoft MVP J# for 2004-2006
Borland "Spirit of Delphi"
* QuickTime, QTVR, ActiveX, .NET, Delphi VCL, XML, IPC
http://www.kagi.com/birbilis
* Robotics
http://www.mech.upatras.gr/~Robotics
http://www.mech.upatras.gr/~robgroup




  _____  

avast! Antivirus <http://www.avast.com> : Outbound message clean. 


Virus Database (VPS): 0637-1, 13/09/2006
Tested on: 16/9/2006 7:12:17 p?
avast! - copyright (c) 1988-2006 ALWIL Software.



_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to