摘要
程序编写格式对程序可读性有很大影响。我们以提高程序可读性为目的,设计并实现了Ada程序格式美化器。它可将自由格式自动转换为统一格式。本文描述了构造一个格式化语法的基本原理,介绍了该美化器的组成、功能和开发方法。
Program format writen is much affection for program readability. Ada pretty printer has been designed and implemented for enhancing program readability, which can automaticlly translate free format into uniform format. This paper describes the basicprinciples of constructing formatted syntax, and then introduces the structure, functionsand developing method of a pretty printer.
出处
《计算机工程与设计》
CSCD
北大核心
1991年第4期25-28,37,共5页
Computer Engineering and Design