Last update March 20, 2004

Wild Card



Difference (previous author) (Change, Edit, normal page display)

Changed: 19c19,25
Thus a full-debug compile of wc would be:
Thus to run a test of wildmatch.d,

dmd wildmatch -debug=Wildmatch -debug=wildmatch
or
dmd wildmatch -debug=Wildmatch ( main() only, no debug messages )

And a full-debug compile of wc would be:

Changed: 23c29
More info later when I figure out how to get the modules to you.
Click to DOWNLOAD: [[Link][Url= Upload:duser/wildcard.zip]wildcard.zip]

Changed: 25c31
Apparently this did it - click to DOWNLOAD: [[Link][Url= Upload:duser/wildcard.zip]Download code]
(The zipfile includes win32 executables for the 2 programs.)

This project has 5 files:

  • wc.d (requires the following 3 modules in the compile)
  • expandw.d (requires the following 2 modules in rhe compile)
  • parsestring.d (independent)
  • wildmatch.d (independent)
  • hilevel.d (requires the above 3 modules and the stream.d or streams.d written by Andy Friesen - included in downloadable zipfile)
Which are to be compiled as (sample wordcount program):

    dmd wc expandw parsestring wildmatch   (making wc.exe)

Independent debug options are in each module using the following conventions:
runtime display of actions called by -debug=modulename
separate compile with test main() included called by -debug=Modulename
runtime-display options can be turned on for any of the modules in the compile independently

Thus to run a test of wildmatch.d,

    dmd wildmatch -debug=Wildmatch -debug=wildmatch
                           or
    dmd wildmatch -debug=Wildmatch  ( main() only, no debug messages )

And a full-debug compile of wc would be:

    dmd wc expandw parsestring wildmatch -debug=wc -debug=expandw -debug=parsestring -debug=wildmatch

Click to DOWNLOAD: wildcard.zip

     (The zipfile includes win32 executables for the 2 programs.)


FolderProjects
FrontPage | News | TestPage | MessageBoard | Search | Contributors | Folders | Index | Help | Preferences | Edit

Edit text of this page (date of last change: March 20, 2004 21:07 (diff))