?? readme
字號:
This directory contains the parser for DDF. The components are as followsMakefileREADMEPROGRAM FILESdsl.l Lex for parserdsl.y Yacc for parserparser.c Main parser functionrwsearch.c Reserved word table search functionstpar.c Main for testing parserINCLUDE FILEStmprws.h template for parser.h; filled with data generated from y.tab.h (output of yacc)ddf.h definition of type DDFRUNgtok.h Parser tree token definitionsAUXILIARY SHELL SCRIPTS AND PROGRAMSed0 edit script for lex; executed after generating lex.yy.c from dsl.l; removes the definitions of makros input(), output(c), and unput(c) - they are redefined in parser.ced0.out stdout protocol of ed0 actionsed1 edit script for yacc; modifies the output y.tab.h of yacc to produce y.h; y.h is sorted and piped through phm to produce rnums and rwordsed1.out stdout protocol of ed1 actionsed2 edit script for yacc; generates file nt containing 'wc y.h'; opens tmprws.h, inserts nt, rnums, and rwords in appropriate places, and writes parser.hed2.out stdout protocol of ed2 actionsphm.c reads y.h to generate rnums and rwordsphm result of cc -o phm phm.cTEMPFILESlex.yy.c lex output generated from dsl.ly.tab.c yacc program ( yyparse() ) generated from dsl.yy.tab.h include with token definitions generated by yaccy.output states and transitions documented by yaccrnumsrwordsntparser.h parser related tables, defines and variables; generated by ed2y.tab.o object module yyparseparser.o object module parseTESTvtest2 list of sql statementstf.l lex definition to eliminate numbers from vtest2tf.yy.c lex output generated from tf.ltf result of cc -0 tf tf.yy.c -lltpar main test program; reads stdin and writes pt_filetestpar shell script to execute tpar: tf < vtest2 | tparpt_file parse tree test output file
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -