- 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
ttcn-3编译器前端模块的设计与实现 implementation of frontend modules of ttcn-3 compiler
年 月 计算机工程与设计 Feb.2015
2015 2
第 卷 第 期 COMPUTERENGINEERINGANDDESIGN Vol.36 No.2
36 2
TTCN-3编译器前端模块的设计与实现
王大卫,王俊峰
(四川大学计算机学院,四川成都 610065)
摘 要:为实现基于TTCN-3 的协议一致性测试系统,提出一种通过编译方式将TTCN-3语言转换为C++语言的编译器
方案。通过对TTCN-3核心语言的研究分析,运用正则语言解析方法实现词法分析模块;在词法分析输出基础上编写上下
文无关文法规则,使用多种方法较为彻底地解决语法冲突问题,实现语法分析模块;实现将TTCN-3语言转换为C++语
言的编译器前端模块。该方案可快速实现对TTCN-3 源代码的词法分析和语法分析,输出单词符号序列并检查其是否符合
预定义的语法规则,对错误进行定位、报错并输出编译结果。
关键词:测试及测试控制表示法;编译器;词法分析;语法分析;语法冲突
中图法分类号: 文献标识号: 文章编号: ( )
TP314 A 1000-7024 2015 02-0281-05
: /
doi 10.16208 j.issn1000-7024.2015.02.001
Im lementationoffrontendmodules ofTTCN-3 com iler
p p
,
WANGDa-wei WANGJun-feng
( , , , )
Colle eofCom uterScience SichuanUniversit Chen du610065 China
g p y g
Abstract: ,
TorealizeaTTCN-3basedconformancetests stem acom ilin solutiontotransformTTCN-3 toC++was resen-
y p g p
, ,
ted.Firstl TTCN-3 core lan ua e was anal zed and the lexical anal zin module was im lemented usin re ular lan ua e
y g g y y g p g g g g
, ,
anal ticalmethod.Then based on the lexical out ut the
您可能关注的文档
- tcp在多跳移动ad hoc网络中的公平性研究 tcp fairness over multihop mobile ad hoc networks.pdf
- td-lte技术在智能电网中的应用 the application of td-lte in smart power grid.pdf
- terfenol-dpzt和弹性基板阵列换能器的磁电效应研究 research on magnetoelectric effect of array transducer using terfenol-dpzt and elastic substrate.pdf
- terfenol-dsaw谐振器terfenol-d复合磁传感器 terfenol-dsaw resonatorterfenol-d composite magnetic sensor.pdf
- the infinite evolution mechanism of (ε)-bisimilarity.pdf
- thinkdesign2009新功能.pdf
- tio2au复合膜酪氨酸酶修饰传感器检测双酚a determination of bisphenol a based on nano-tio2au tyrosinase composite biosensor.pdf
- timed sefm面向嵌入式实时控制系统的编程模型 timed sefm programming model for embedded real-time control systems.pdf
- tipc透明进程间通信协议研究和应用 research and analysis of transparent inter process communication protocol.pdf
- tm-cam一种高效的容软错误相联存储器 tm-caman efficient soft error tolerant content addressable memory.pdf
- turbo码的性能分析与仿真 performance analysis and simulation of turbo codes.pdf
- turir一种能量高效的移动无线传感器网络兴趣消息更新协议 turir. energy efficient interest message update protocol for mobile wireless sensor networks.pdf
- tv-retinex一种快速图像增强算法 tv-retinex a fast algorithm for image enhancement.pdf
- t样条调配函数线性无关性的判定算法 linear independence of t-spline blending functions.pdf
- uartcan转换芯片csm100应用探讨 application of uartcan converter module csm100.pdf
- u-boot的分析及其在dm6446上的移植 analysis of u-boot and porting to dm6446.pdf
- u-boot在s3c44box+μclinux上的移植.pdf
- uip协议栈在sopc系统中的应用 application of uip stack in sopc system.pdf
- uidt一种基于摄像头的用户界面模型 uidt a vision based user interface model.pdf
- ukf与ekf在卫星姿态估计应用中的比较 comparison of unscented kalman filtering and extend kalman filtering for satellite attitude estimation.pdf
文档评论(0)