Fractal Automata: Recursion in Context-Free and in Deterministic and Linear Context-Free Languages

被引:0
|
作者
Nagy, Benedek [1 ,2 ]
机构
[1] Eastern Mediterranean Univ, Fac Arts & Sci, Dept Math, Mersin 10, Famagusta, North Cyprus, Turkiye
[2] Eszterhazy Karoly Catholic Univ, Inst Math & Informat, Dept Comp Sci, Eger, Hungary
关键词
Railroad diagrams; context-free languages; infinite state automata; fractals; recursion; linear languages; deterministic automata; graph transformations; pushdown automata;
D O I
10.1142/S0129054125450017
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
In procedural programming languages, the order of executing the statements may follow a regular pattern, including sequences of statements, conditional and branching statements and loops. On the other hand, regular languages can be represented by finite state acceptors (finite automata), by regular expressions and by (a special form of) railroad diagrams (syntax diagrams) allowing alternatives, option, concatenation and iteration. Context-free languages can also be described by (the general form of) railroad diagrams allowing also recursion. Based on the analogy of finite automata and railroad diagrams, the transformation between node-labelled and edge-labelled graphs, special infinite state automata, namely the fractal automata, are established to characterize the class of context-free languages. Deterministic and linear variants are also investigated. To establish these connections, we also define such variants of pushdown automata that accept the deterministic context-free and linear languages by empty stack. A transformation between the pushdown automata and fractal automata is also shown. The proposed model gives some new insights and a new view of context-free languages, deterministic context-free languages, linear context-free and deterministic linear context-free languages.
引用
收藏
页数:32
相关论文
共 50 条
  • [21] ON LINEAR CONTEXT-FREE LANGUAGES AND ONE-WAY MULTIHEAD AUTOMATA
    RYTTER, W
    INFORMATION PROCESSING LETTERS, 1984, 19 (04) : 163 - 166
  • [22] DM-AUTOMATA AND CLASSES OF CONTEXT-FREE LANGUAGES
    STAVROVSKII, AB
    PAVLIV, OY
    CYBERNETICS AND SYSTEMS ANALYSIS, 1993, 29 (01) : 12 - 19
  • [23] UNSOLVABILITY OF RECOGNITION OF LINEAR CONTEXT-FREE LANGUAGES
    GREIBACH, SA
    JOURNAL OF THE ACM, 1966, 13 (04) : 582 - &
  • [24] The Boolean closure of linear context-free languages
    Kutrib, Martin
    Malcher, Andreas
    Wotschke, Detlef
    ACTA INFORMATICA, 2008, 45 (03) : 177 - 191
  • [25] A MACHINE REALIZATION OF LINEAR CONTEXT-FREE LANGUAGES
    ROSENBERG, AL
    INFORMATION AND CONTROL, 1967, 10 (02): : 175 - +
  • [26] The Boolean closure of linear context-free languages
    Kutrib, Martin
    Malcher, Andreas
    Wotschke, Detlef
    Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2004, 3340 : 284 - 295
  • [27] ON CONTEXT-FREE LANGUAGES AND PUSH-DOWN AUTOMATA
    SCHUTZENBERGER, MP
    INFORMATION AND CONTROL, 1963, 6 (03): : 246 - &
  • [28] The Boolean closure of linear context-free languages
    Martin Kutrib
    Andreas Malcher
    Detlef Wotschke
    Acta Informatica, 2008, 45 : 177 - 191
  • [29] The Boolean closure of linear context-free languages
    Kutrib, M
    Malcher, A
    Wotschke, D
    DEVELOPMENTS IN LANGUAGE THEORY, PROCEEDINGS, 2004, 3340 : 284 - 295
  • [30] PC-automata and classes of context-free languages
    Stavrovskij, A.B.
    Pavliv, O.Yu.
    Kibernetika i Sistemnyj Analis, 1993, (01): : 20 - 29