程序结构
Program structure
摘要:
程序通常表示为字链。它实际上是一个单词链,作为词法分析器的输出出现并被解析。工作表明,一个程序可以在句法上表示为一个有向的字树,即一个句法程序树,程序字位于树节点和树箭头。树的基本属性是从每个节点开始的箭头由不同的词(包括空词)标记。然后,可以使用需求或附加链接在这样的树上直接指定语义,并且向一些树节点添加指令使得能够实现程序执行规范。
英文摘要:
A program is usually represented as a word chain. It is exactly a word chain that appears as the lexical analyzer output and is parsed. The work shows that a program can be syntactically represented as an oriented word tree, that is a syntactic program tree, program words being located both in tree nodes and on tree arrows. The basic property of a tree is that arrows starting from each node are marked by different words (including an empty word). Semantics can then be directly specified on such tree using either requirements or additional links, and adding instructions to some tree nodes enables program execution specification.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。