Announcement

Collapse
No announcement yet.

Win32API Parser

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Win32API Parser

    I have the beginnings of a Win32 API parser. It needs some work.
    The code is in the 3rd message below.

    [This message has been edited by Ron Pierce (edited July 10, 2001).]

  • #2
    The Win32API file parser has a major shortcoming in that it is not yet smart enough to include equates which are concatenated to produce equates encountered later in the scan. It took a little manual search/copy/paste to finish the custom INI file (about 10 minutes worth) for my largest and most complex PBCC application.

    My primary PBCC app now compiles in .2 seconds whereas it was taking .9 seconds to compile.

    WIN32API.inc
    Primary source: UCOMM.BAS {33035 total lines}
    Compile time: 0.8 seconds, at 2477625 lines/minute

    155136 bytes compiled code, 24267 bytes RTLibrary,
    15112 bytes string literals, and 24532 bytes dgroup.
    Executable stack size: 1048576 bytes.
    Disk image: 222720 bytes Memory image: 63911 bytes.
    ---------------------------------------------------------------

    WIN32.inc
    Primary source: UCOMM.BAS {18245 total lines}
    Compile time: 0.2 seconds, at 5473500 lines/minute

    154864 bytes compiled code, 24267 bytes RTLibrary,
    15112 bytes string literals, and 24532 bytes dgroup.
    Executable stack size: 1048576 bytes.
    Disk image: 221696 bytes Memory image: 63911 bytes.

    Comment


    • #3
      Great stuff Ron! I'd really like to take a look-see at your project if I may? Please?

      ------------------
      Lance
      PowerBASIC Support
      mailto:[email protected][email protected]</A>
      Lance
      mailto:[email protected]

      Comment

      Working...
      X