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 条
  • [1] A domain-specific language for regular sets of strings and trees
    Klarlund, N
    Schwartzbach, MI
    PROCEEDINGS OF THE CONFERENCE ON DOMAIN-SPECIFIC LANGUAGES, 1997, : 145 - 156
  • [2] Domain-specific regular acceleration
    Bernard Boigelot
    Boigelot, B. (boigelot@montefiore.ulg.ac.be), 1600, Springer Verlag (14): : 193 - 206
  • [3] A Domain-Specific Language for Microservices
    Donham, Jacob
    PROCEEDINGS OF THE 9TH ACM SIGPLAN INTERNATIONAL SYMPOSIUM ON SCALA (SCALA '18), 2018, : 2 - 12
  • [4] A Domain-Specific Language for Aviation Domain Interoperability
    Comitz, Paul
    2013 INTEGRATED COMMUNICATIONS, NAVIGATION AND SURVEILLANCE CONFERENCE (ICNS), 2013,
  • [5] JAMOOS: A domain-specific language for language processing
    Gil, Joseph Yossi
    Tsoglin, Yuri
    2001, University of Zagreb, Faculty of Political Sciences (09)
  • [6] A DOMAIN-SPECIFIC LANGUAGE FOR ROUTING PROBLEMS
    Hoffmann, Benjamin
    Guckert, Michael
    Farrenkopf, Thomas
    Chalmers, Kevin
    Urquhart, Neil
    32ND EUROPEAN CONFERENCE ON MODELLING AND SIMULATION (ECMS 2018), 2018, : 262 - 268
  • [7] A domain-specific language for model coupling
    Bulatewicz, Tom
    Cuny, Janice
    PROCEEDINGS OF THE 2006 WINTER SIMULATION CONFERENCE, VOLS 1-5, 2006, : 1091 - +
  • [8] Language Protocols for Domain-Specific Debugging
    Enet, Josselin
    ACM/IEEE 27TH INTERNATIONAL CONFERENCE ON MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS: COMPANION PROCEEDINGS, MODELS 2024, 2024, : 204 - 207
  • [9] A Domain-Specific Language for Ubiquitous Healthcare
    Munnelly, Jennifer
    Clarke, Siobhan
    2008 3RD INTERNATIONAL CONFERENCE ON PERVASIVE COMPUTING AND APPLICATIONS, VOLS 1 AND 2, 2008, : 759 - 764
  • [10] Domain-Specific Language for Coordination Patterns
    Oliveira, Nuno
    Rodrigues, Nuno
    Henriques, Pedro Rangel
    COMPUTER SCIENCE AND INFORMATION SYSTEMS, 2011, 8 (02) : 343 - 359