• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2007, Vol. 29 ›› Issue (10): 124-127.

• 论文 • 上一篇    下一篇

TTCN-3编译器符号表的设计和实现

蒋凡 张辉 谈刚   

  • 出版日期:2007-10-01 发布日期:2010-06-02

  • Online:2007-10-01 Published:2010-06-02

摘要:

TTCN-3是一种用于协议与软件测试的标准化测试语言。本文在对TTCN-3核心语言标准的研究基础上分析了TTCN-3核心语言的前向引用和Import机制等方面的规范与特点,设计 并实现了一种TTCN-3符号表组织结构。在此基础上完成了TTCN-3到中间语言的编译转换。

关键词: TTCN-3 编译器 符号表

Abstract:

The testing and test control notation (TTCN-3) is a standard for protocol and software testing. Based on the study of the standards of the TTCN-3 core language, this paper explains the rules and characteristics about the former reference and the Import mechanism of the TTCN-3 core language, realizes  the TTCN-3 compiler symbol table, and then realizes the translation between the TTCN-3 language and the middle language.

Key words: (TTCN-3, compiler, symbol table)