首页    期刊浏览 2024年07月08日 星期一
登录注册

文章基本信息

  • 标题:EMBEDDING DSLS INTO GPLS: A GRAMMATICAL INFERENCE APPROACH *
  • 本地全文:下载
  • 作者:Dejan Hrnčič ; Marjan Mernik ; Barrett R. Bryant
  • 期刊名称:Public Policy And Administration
  • 印刷版ISSN:2029-2872
  • 出版年度:2011
  • 卷号:40
  • 期号:4
  • 页码:307-315
  • DOI:10.5755/j01.itc.40.4.980
  • 语种:English
  • 出版社:Kaunas University of Technology
  • 摘要:Embedding of Domain-Specific Languages (DSLs) into General-Purpose Languages (GPLs) is oftenused to express domain-specific problems using the domain’s natural syntax inside GPL programs. It speeds up thedevelopment process, programs are more self-explanatory and repeating tasks are easier to handle. End-users ordomain experts know what the desired language syntax would look like, but do not know how to write a grammar andlanguage processing tools. Grammatical inference can be used for grammar extraction from input examples. Amemetic algorithm for grammatical inference, named MAGIc, was implemented to extract grammar from DSLexamples. In this work MAGIc is extended with embedding the inferred DSL into existing GPL grammar.Additionally, negative examples were also incorporated into the inference process. From the results it can be concludedthat MAGIc is successful for DSL embedding and that the inference process is improved with use of negativeexamples.
  • 关键词:memetic algorithms;domain-specific languages;grammatical inference;embedding
国家哲学社会科学文献中心版权所有