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 条
  • [41] Characterization of context-free languages
    Badano, M.
    Vaggione, D.
    THEORETICAL COMPUTER SCIENCE, 2017, 676 : 92 - 96
  • [42] CHARACTERIZATION OF CONTEXT-FREE LANGUAGES
    DEGALLEGO, MS
    ANNALES DE LA SOCIETE SCIENTIFIQUE DE BRUXELLES SERIES 1-SCIENCES MATHEMATIQUES ASTRONOMIQUES ET PHYSIQUES, 1979, 93 (03): : 155 - 158
  • [43] BICENTERS OF CONTEXT-FREE LANGUAGES
    AUTEBERT, JM
    BEAUQUIER, J
    BOASSON, L
    GIRE, F
    ACTA INFORMATICA, 1984, 21 (02) : 209 - 227
  • [44] QUOTIENTS OF CONTEXT-FREE LANGUAGES
    GINSBURG, S
    SPANIER, EH
    JOURNAL OF THE ACM, 1963, 10 (04) : 487 - &
  • [45] ERASABLE CONTEXT-FREE LANGUAGES
    GREIBACH, SA
    INFORMATION AND CONTROL, 1975, 29 (04): : 301 - 326
  • [46] STOCHASTIC CONTEXT-FREE LANGUAGES
    HUANG, T
    FU, KS
    INFORMATION SCIENCES, 1971, 3 (03) : 201 - &
  • [47] ON COMMUTATIVE CONTEXT-FREE LANGUAGES
    BEAUQUIER, J
    BLATTNER, M
    LATTEUX, M
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1987, 35 (03) : 311 - 320
  • [48] Kernels of Context-Free Languages
    Kutrib, Martin
    Prigioniero, Luca
    INTERNATIONAL JOURNAL OF FOUNDATIONS OF COMPUTER SCIENCE, 2024,
  • [49] TRANSFORMATIONS IN CONTEXT-FREE LANGUAGES
    RADENSKY, AA
    DOKLADI NA BOLGARSKATA AKADEMIYA NA NAUKITE, 1983, 36 (02): : 185 - 187
  • [50] Buchi context-free languages
    Esik, Zoltan
    Ivan, Szabolcs
    THEORETICAL COMPUTER SCIENCE, 2011, 412 (8-10) : 805 - 821