Skip to main content
Log in

Some relations between Markov algorithms and formal languages

  • Published:
CALCOLO Aims and scope Submit manuscript

Abstract

Markov algorithms have received very little attention in the studies about formal languages, so the purpose of the present paper is twofold: i) to characterize languages in terms of Markov algorithms, and ii) to produce automatically Markov algorithms accepting or parsing languages generated by given grammars.

We use a particular, although universal, subclass of Markov algorithms, which we call “pointer Markov algorithms»; we obtain a characterization of: i) regular, ii) deterministic context-free, and iii) type O languages, which is quite «natural» in terms of these algorithms. Furthermore, we show that, given a right linear or a strongLL(k) grammar, it is possible to produce automatically a pointer Markov algorithm parsing the language generated by the grammar. These constructions are particularly interesting because pointer Markov algorithms can be compiled conveniently into machine code programs.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Markov A. A.,The theory of Algorithms (1961) Israel Program for Scientific Translation, Jerusalem.

    Google Scholar 

  2. De Bakker J. W.,Semantics of, programming languages, «Advances in Information System Sciences». (J. T. Tou, Ed.), vol. 2 (1969), Plenum Press, New York.

    Google Scholar 

  3. Arnold R. F. andRichards D. L.,Monotone congruence algorithms, Information and Control9 (1966), 285–297.

    Article  MATH  MathSciNet  Google Scholar 

  4. Katzenelson J.,The Markov algorithm as a language, parser—linear bounds, J. Comput. System Sci.6 (1972), 465–478.

    MATH  MathSciNet  Google Scholar 

  5. Laganà M. R., Leoni G., Pinzani R. andSprugnoli R.,Improvements in the execution of Markov algorithms, Boll. UMI11 (1975), 473–489.

    MATH  Google Scholar 

  6. Aguzzi G., Pinzani R. andSprugnoli R.,An, algorithmic approach to the semantics of programming languages,in «Automata, Languages and Programming», (M. Nivat, Ed.) (1973) North Holland, Amsterdam.

    Google Scholar 

  7. Cerniavskii V. S.,On a class of normal Markov algorithms, AMS Translations (2)48 (1965), 1–25.

    Google Scholar 

  8. Leoni G. andSprugnoli R.,The compilation of pointer Markov algorithms,in «International Computing Symposium 1975», (E. Gelenbe and D. Potier, Eds.), (1975) North Holland, Amsterdam.

    Google Scholar 

  9. Ginsburg, S.,The Mathematical Theory of Context-free Languages, (1966) McGraw-Hill, New York.

    MATH  Google Scholar 

  10. Leoni G. andSprugnoli R.,Sull'efficienza di algoritmi di Markov compilati, Congresso A.I.C.A. 1975-Genova.

  11. Aho A. V. andUllman J. D.,The Theory of Parsing, Translation, and Compiling, vol. 1 (1973), Prentice-Hall, Englewood Cliffs, N. J.,

    Google Scholar 

  12. Hopcroft J. E. andUllmann J. D.,Formal Languages and their Relations to Automata, (1969) addison Wesley, Reading, Ma.

    Google Scholar 

  13. Leoni G. andSprugnoli R.,Some relations between Markov algorithms and formal languages, I.S.I. Report S-76-4 (1976), Pisa.

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Leoni, G., Sprugoli, R. Some relations between Markov algorithms and formal languages. Calcolo 14, 261–284 (1977). https://doi.org/10.1007/BF02576816

Download citation

  • Received:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF02576816

Keywords

Navigation