arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2204.06156cs.PL
收藏

具有XML相间通信的模块化和教学式设计

Modular and Didactic Compiler Design with XML Inter-Phases Communication

Eduardo Adam Navas-López

摘要:

在汇编语言设计课程中,学生学习如何将以高级程序设计语言编写并为人类理解而设计的程序系统地转换为机器理解的低级汇编语言,通过不同的表示。本文介绍了设计,教育的特点和可能性的模块化和教学编译器的Pascal类编程的迷你语言,是超集尼克劳斯沃思的PL/0。其主要特点是,它以这样一种方式实现了编译阶段,即传递给下一个阶段的信息可以反映为XML文档,可以单独研究。它也表明,其设计是适合被列入编译器设计课程的学习工具。可以用像Python这样的高级语言实现编译器。

英文摘要:

In Compiler Design courses, students learn how a program written in high level programming language and designed for humans understanding is systematically converted into low level assembly language understood by machines, through different representations. This article presents the design, educative characteristics and possibilities of a modular and didactic compiler for a Pascal-like programming mini-language that is super-set of Niklaus Wirth's PL/0. The main feature is that it implements the compiling phases in such a way that the information delivered to each next one may be reflected as an XML document, which can be studied separately. It is also shown that its design is suitable for being included as learning tool into compiler design courses. It is possible to implement a compiler in a high-level language like Python.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑