This release is based upon Albert Graef's TPLY (TPYacc) Version 3.0a
New features:
- Runs under M$-Windows displaying a dialog.
- Can output tables in a *.res Windows-Resource file or a data file.
(Important notice: when using this, type integer is expected
to be a signed two-byte value; consider this when compiling with Delphi32).
- Generates a listing in HTML.
- Uses a different yyparse.cod template file.
(see YaccMsgs.pas/procedure write_options for further details)
- Unit BasePars.pas for generating a parser-class. (not supplied yet)
- Deallocates its tables properly (vital for M$-Windows) (more or less...)
- outputs Rulestrings
- also available as a Delphi4.0-compiled 32-bit Console application.
As diskspace for my homepage is restricted, my archive only contains the sources and an executable; if you want the description for version 3.0a and/or examples go to Albert Graef's homepage
Unfortunately GPL'ing leads to the usual 'Versionitis' for all that sort of Software. (Follow that link, when you want to know, how many TPYacc's there are currently out in the cold!)
> if bufptr=0 then > act_char := #0 > else > begin > while pop_macro do ; > act_char := buf[bufptr]; > end > end(*act_char*); |
by | < if bufptr=0 then < act_char := #0 < else < begin < while pop_macro do ; < if bufptr>0 then < act_char := buf[bufptr] < else < act_char := #0; < end < end(*act_char*); |