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 条
  • [21] A Domain-Specific Language for Exploratory Data Visualization
    Smeltzer, Karl
    Erwig, Martin
    PROCEEDINGS OF THE 17TH ACM SIGPLAN INTERNATIONAL CONFERENCE ON GENERATIVE PROGRAMMING: CONCEPTS AND EXPERIENCES (GPCE'18), 2018, : 1 - 13
  • [22] EXTENSIBLE HOST LANGUAGE FOR DOMAIN-SPECIFIC LANGUAGES
    Chodarev, Sergej
    Kollar, Jan
    COMPUTING AND INFORMATICS, 2016, 35 (01) : 84 - 110
  • [23] LegalLanguage: A Domain-Specific Language for Legal Contexts
    Soares, Ambrosio Alves
    Martins, Paula Ventura
    da Silva, Alberto Rodrigues
    ADVANCES IN ENTERPRISE ENGINEERING XIII, EEWC 2019, 2020, 374 : 33 - 51
  • [24] SESSL: A Domain-Specific Language for Simulation Experiments
    Ewald, Roland
    Uhrmacher, Adelinde M.
    ACM TRANSACTIONS ON MODELING AND COMPUTER SIMULATION, 2014, 24 (02):
  • [25] A Test Model For Domain-Specific Language Development
    kihlman, Ludvig
    2017 9TH COMPUTER SCIENCE AND ELECTRONIC ENGINEERING (CEEC), 2017,
  • [26] A domain-specific language for the specification of UCON policies
    Reina Quintero, Antonia M.
    Martinez Perez, Salvador
    Jesus Varela-Vaca, Angel
    Gomez Lopez, Maria Teresa
    Cabot, Jordi
    JOURNAL OF INFORMATION SECURITY AND APPLICATIONS, 2022, 64
  • [27] Declaratively Defining Domain-Specific Language Debuggers
    Lindeman, Ricky T.
    Kats, Lennart C. L.
    Visser, Eelco
    GPCE 11: PROCEEDINGS OF THE TENTH INTERNATIONAL CONFERENCE ON GENERATIVE PROGRAMMING AND COMPONENT ENGINEERING, 2011, : 127 - 136
  • [28] Framework for domain-specific modeling language development
    Grant, ES
    Reza, H
    SERP'04: PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING RESEARCH AND PRACTICE, VOLS 1 AND 2, 2004, : 183 - 187
  • [29] A domain-specific language to visualize software evolution
    Fernandez, Alison
    Berger, Alexandre
    INFORMATION AND SOFTWARE TECHNOLOGY, 2018, 98 : 118 - 130
  • [30] DOMAIN-SPECIFIC LANGUAGE FOR THE CONFIGURATION OF NETWORK DEVICES
    Felipe Garzon Triana, Daniel
    Enrique Montenegro Marin, Carlos
    Alonso Gaona Garcia, Paulo
    INGENIERIA SOLIDARIA, 2016, 12 (20): : 83 - 94