Pascal编写的PL/0编译器源代码

时间:2021-12-06 13:17:16
【文件属性】:
文件名称:Pascal编写的PL/0编译器源代码
文件大小:59KB
文件格式:DOCX
更新时间:2021-12-06 13:17:16
编译器 用Pascal语言编写的PL/0编译器源代码。PL/0 is a programming language, intended as an educational programming language, that is similar to but much simpler than Pascal, a general-purpose programming language. It serves as an example of how to construct a compiler. It was originally introduced in the book, Algorithms + Data Structures = Programs, by Niklaus Wirth in 1976. It features quite limited language constructs: there are no real numbers, very few basic arithmetic operations and no control-flow constructs other than "if" and "while" blocks. While these limitations make writing real applications in this language impractical, it helps the compiler remain compact and simple.

网友评论