-
大小: 58KB文件類型: .zip金幣: 1下載: 0 次發(fā)布日期: 2021-01-02
- 語言: 其他
- 標(biāo)簽: flex和bison??四元式??翻譯??
資源簡(jiǎn)介
···flex和bison
····實(shí)現(xiàn)小型編譯器
···最終生成中間代碼--四元式
···可以實(shí)現(xiàn)if語句、for循環(huán)語句、while語句、變量聲明和賦值語句的翻譯
代碼片段和文件信息
/*?A?Bison?parser?made?by?GNU?Bison?2.7.??*/
/*?Bison?implementation?for?Yacc-like?parsers?in?C
???
??????Copyright?(C)?1984?1989-1990?2000-2012?Free?Software?Foundation?Inc.
???
???This?program?is?free?software:?you?can?redistribute?it?and/or?modify
???it?under?the?terms?of?the?GNU?General?Public?License?as?published?by
???the?Free?Software?Foundation?either?version?3?of?the?License?or
???(at?your?option)?any?later?version.
???
???This?program?is?distributed?in?the?hope?that?it?will?be?useful
???but?WITHOUT?ANY?WARRANTY;?without?even?the?implied?warranty?of
???MERCHANTABILITY?or?FITNESS?FOR?A?PARTICULAR?PURPOSE.??See?the
???GNU?General?Public?License?for?more?details.
???
???You?should?have?received?a?copy?of?the?GNU?General?Public?License
???along?with?this?progr
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2019-06-06?00:02??源程序\
?????文件????????2714??2019-05-29?15:56??源程序\ast_syj.l
?????文件???????73126??2019-05-31?10:02??源程序\ast_syj.tab.c
?????文件???????12915??2019-05-31?10:58??源程序\ast_syj.y
?????文件???????58804??2019-05-31?10:02??源程序\final.exe
?????文件?????????158??2019-06-03?11:22??源程序\inputboolexpr.txt
?????文件?????????141??2019-06-03?11:38??源程序\inputif.txt
?????文件??????????48??2019-05-30?21:09??源程序\inputs2.txt
?????文件??????????65??2019-05-30?21:12??源程序\inputs3.txt
?????文件??????????95??2019-06-03?11:29??源程序\inputvarable.txt
?????文件??????????70??2019-05-31?11:06??源程序\inputwhile.txt
?????文件???????57880??2019-05-30?21:53??源程序\lex.yy.c
?????文件?????????223??2019-06-06?00:00??源程序\可執(zhí)行程序運(yùn)行說明文檔.txt
評(píng)論
共有 條評(píng)論