A domain-specific language for regular sets of strings and trees

被引:4
|
作者
Klarlund, N [1 ]
Schwartzbach, MI
机构
[1] AT&T Bell Labs, Res, Naperville, IL 60540 USA
[2] Aarhus Univ, Dept Comp Sci, DK-8000 Aarhus C, Denmark
关键词
domain-specific languages; regular sets; trees; strings; logic;
D O I
10.1109/32.798326
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We propose a new high-level programming notation, called FIDO, that we have designed to concisely express regular sets of strings or trees. In particular, it can be viewed as a domain-specific language for the expression of finite-state automata on large alphabets (of sometimes astronomical size). FIDO is based on a combination of mathematical logic and programming language concepts. This combination shares no similarities with usual logic programming languages. FIDO compiles into finite-state string or tree automata, so there is no concept of run-time. It has already been applied to a variety of problems of considerable complexity and practical interest. In the present paper, we motivate the need for a language like FIDO, and discuss our design and its implementation. Also, we briefly discuss design criteria for domain-specific languages that we have learned from the work with FIDO. We show how recursive data types, unification, implicit coercions, and subtyping can be merged with a variation of predicate logic, called the Monadic Second-order Logic (M2L) on trees. FIDO is translated first into pure M2L via suitable encodings, and finally into finite-state automata through the MONA tool.
引用
收藏
页码:378 / 386
页数:9
相关论文
共 50 条
  • [41] Variability Support in Domain-Specific Language Development
    Vacchi, Edoardo
    Cazzola, Walter
    Pillay, Suresh
    Combemale, Benoit
    SOFTWARE LANGUAGE ENGINEERING (SLE 2013), 2013, 8225 : 76 - 95
  • [42] Conceptual language models for domain-specific retrieval
    Meij, Edgar
    Trieschnigg, Dolf
    de Rijke, Maarten
    Kraaij, Wessel
    INFORMATION PROCESSING & MANAGEMENT, 2010, 46 (04) : 448 - 469
  • [43] MDL, a domain-specific language for molecular dynamics
    Cickovski, Trevor
    Sweet, Chris
    Izaguirre, Jesus A.
    40TH ANNUAL SIMULATION SYMPOSIUM, PROCEEDINGS, 2007, : 256 - +
  • [44] Natural semantics visualization for domain-specific language
    Steingartner, William
    Zsiga, Richard
    Radakovie, Davorka
    IPSI BGD TRANSACTIONS ON INTERNET RESEARCH, 2023, 19 (01): : 52 - 57
  • [45] A domain-specific language for experimental game theory
    Walkingshaw, Eric
    Erwig, Martin
    JOURNAL OF FUNCTIONAL PROGRAMMING, 2009, 19 : 645 - 661
  • [46] Declaratively Defining Domain-Specific Language Debuggers
    Lindeman, Ricky T.
    Kats, Lennart C. L.
    Visser, Eelco
    ACM SIGPLAN NOTICES, 2012, 47 (03) : 127 - 136
  • [47] A Domain-Specific Language for Augmented Reality Games
    Campos-Lopez, Ruben
    Guerra, Esther
    de Lara, Juan
    39TH ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING, SAC 2024, 2024, : 1140 - 1142
  • [48] A Domain-specific Language for Configurable Traceability Analysis
    Buender, Hendrik
    Rieger, Christoph
    Kuchen, Herbert
    MODELSWARD: PROCEEDINGS OF THE 5TH INTERNATIONAL CONFERENCE ON MODEL-DRIVEN ENGINEERING AND SOFTWARE DEVELOPMENT, 2017, : 374 - 381
  • [49] From a program family to a domain-specific \language
    Consel, C
    DOMAIN-SPECIFIC PROGRAM GENERATION, 2003, 3016 : 19 - 29
  • [50] ModelTalk: When Everything Is a Domain-Specific Language
    Hen-Tov, Atzmon
    Pinhasi, Assaf
    Schachter, Lior
    Lorenz, David H.
    IEEE SOFTWARE, 2009, 26 (04) : 39 - 46