They have been developed using the AZTEC C86 compiler, and are portable to any other standard C environment. I have tested this code with AZTEC CII for the 8080, and with the C compiler on XENIX 286, and they work fine.
編譯原理的一個(gè)小實(shí)例 YACC(Yet Another Compiler-Compiler)是LALR(1)分析器的自動(dòng)生成工具,它的第一版于70年代初發(fā)表,是美國貝爾實(shí)驗(yàn)室的軟件產(chǎn)品(作者為S.C.Johnson) YACC將一前后文無關(guān)文法轉(zhuǎn)換為一LALR(1)分析表,并提供使用該分析表進(jìn)行語法分析的總控程序yyparse().