标题:
基于DSL的通用调查问卷建模和应用Modeling and Application of a General Questionnaire Solution Based on DSL
作者:
常玉增, 林广艳, 方弘宇, 满坦坦
关键字:
调查问卷, 领域特定语言, 领域分析, 概念抽取, 目标代码生成Questionnaire, Domain Specific Language, Domain Analysis, Concept Extraction, Object Code Generation
期刊名称:
《Computer Science and Application》, Vol.6 No.11, 2016-11-25
摘要:
本文对调查问卷业务进行领域分析和概念抽取,基于XML、巴科斯范式定义了一种适用于调查问卷的领域特定语言,并结合模板引擎和XSLT技术生成了最终目标代码,由此形成一套较完整的调查问卷生成方案。最后通过案例对该方案进行了验证。
Based on business area analysis and concept extraction to the survey questionnaires, using XML and Backus-Naur Form, the paper defines a domain specific language which is suitable for ques-tionnaire, and then with template engine and XSLT generates the ultimate code, resulting in a relatively complete survey questionnaire generation solution. At last, a practical demonstration is given out for the verification and retrospection of the solution.