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 条
  • [31] NNL:a domain-specific language for neural networks
    王秉睿
    Chen Yunji
    High Technology Letters, 2020, 26 (02) : 160 - 167
  • [32] A domain-specific language for managing ETL processes
    Popovic, Aleksandar
    Ivkovic, Vladimir
    Trajkovic, Nikola
    Lukovic, Ivan
    PEERJ COMPUTER SCIENCE, 2024, 10
  • [33] THE FUNDAMENTALS OF DOMAIN-SPECIFIC SIMULATION LANGUAGE ENGINEERING
    Van Mierlo, Simon
    Vangheluwe, Hans
    Denil, Joachim
    2019 WINTER SIMULATION CONFERENCE (WSC), 2019, : 1482 - 1494
  • [34] A Domain-Specific Language for Automatic Generation of Checkers
    Hadiwijaya, Ryan Ignatius
    Liem, M. M. Inggriani
    2015 INTERNATIONAL CONFERENCE ON DATA AND SOFTWARE ENGINEERING (ICODSE), 2015, : 7 - 12
  • [35] A Domain-Specific Language for Generating Dataflow Analyzers
    Zeng, Jia
    Mitchell, Chuck
    Edwards, Stephen A.
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2006, 164 (02) : 103 - 119
  • [36] NDL: A domain-specific language for device drivers
    Conway, CL
    Edwards, SA
    ACM SIGPLAN NOTICES, 2004, 39 (07) : 30 - 36
  • [37] SLang: A Domain-specific Language for Survey Questionnaires
    Araujo, Luciane C.
    Casanova, Marco A.
    Leme, Luiz Andre P. P.
    Furtado, Antonio L.
    PROCEEDINGS OF THE 22ND INTERNATIONAL CONFERENCE ON ENTERPRISE INFORMATION SYSTEMS (ICEIS), VOL 2, 2020, : 133 - 144
  • [38] A domain-specific language for models of landscape dynamics
    Fall, A
    Fall, J
    ECOLOGICAL MODELLING, 2001, 141 (1-3) : 1 - 18
  • [39] A domain-specific language approach to programmable networks
    Muller, G
    Lawall, JL
    Thibault, S
    Jensen, REV
    IEEE TRANSACTIONS ON SYSTEMS MAN AND CYBERNETICS PART C-APPLICATIONS AND REVIEWS, 2003, 33 (03): : 370 - 381
  • [40] Design and implementation of domain-specific language easytime
    Fister, Iztok, Jr.
    Fister, Iztok
    Mernik, Marjan
    Brest, Janez
    COMPUTER LANGUAGES SYSTEMS & STRUCTURES, 2011, 37 (04) : 151 - 167