Yacc
Yacc Debugger
 
Yacc & Lex
Документация
Программы
Литератуа
Ссылки
Примеры
 
Solotony
Автор
Читальня
Хостинг
 


TopListValid HTML 4.01!

YaccDeBugger - YDB 16 bit version for win/dos 3.x

    This debugger allows post analysis of a runtime session, the results of the session are written to ydb.err and this information with yy.lrt provides online visual debugging. YDB allows a user to step through an entire parsing operation.

    To create yy.lrt and yytab.h, please type:

pcyacc -pydbpar.c -v -d calc.y

    or simply run the batch file(yaccit.bat).

    PCYACC will transfer Grammer Description file into calc.c file with yy.lrt and yytab.h files.

    To compile the calculator type "cl calc.c"

    To generate the file ydb.err you must run the calculator with a valid example, i.e. "2+2", and exit.

    This program is a visual debugger for debugging pcyacc grammars. For example, to demonstrate PCYACC debugger, please type:

ydb ydb.err yy.lrt yytab.h

    or simply run the batch file(y.bat).

calc.y

grammar description file

ydbpar.c

skeleton file required to generate ydb.err

ydb.err

output of parser with YYDEBUG switch on when you run calc.

makefile

DOS/WIN3.X makefile for calc

yaccit.bat

batch file to transfer grammar description file into c file by YACC

y.bat

batch file to demo YACC debugger

<src>

subdirectory to store ydb source files.

readme.txt

this file

yy.lrt

YACC generated parsing table file with -v switch on

yytab.h

YACC generated include file wiht -d switch on

calc.c

YACC generated c file

calc.exe

executable file for calc

    If you find any problems in our PCYACC Debugger, feel free to contact with us. Many thanx.

© 1998-2005 SoloTony (Antonio Solo) www.solotony.com