Skip to main content
Log in

Construction of a translator for robot-programming languages

  • Published:
Journal of Intelligent and Robotic Systems Aims and scope Submit manuscript

Abstract

The paper describes a method for construction and implementation of a translator for robotic programming languages using compiler-compilers. Starting from the standard robotic programming language PASRO, a new robotic language is formed, as well as a translator from the newly-formed language into the symbolic robot language of the robot control system EDUC-NET, using the compiler-compiler COCO-2. A comparative analysis of the application of different compiler-compilers (COCO-2 and LEX-YACC) for translator construction is presented.

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. Aho, A. V. and Ullman, J. D.: Syntax directed translations and the pushdown assembler, J. Computer and System Sci. 3(1) (1969), 37–56.

    Google Scholar 

  2. Aho, A. V. and Ullman, J. D.: Properties of syntax directed translations, J. Computer and System Sci. 3(3) (1969), 319–334.

    Google Scholar 

  3. Aho, A. V. and Ullman, J. D.: The Theory of Parsing, Translations, and Compiling, Prentice-Hall, 1972.

  4. Aho, A. V., Sethi, R., and Ullman, J. D.: Compilers: Principles, Techniques and Tools, Addison-Wesley, 1985.

  5. Blume, C.: PASRO-Description, BIOMATIK GmbH, Freiburg, 1983.

    Google Scholar 

  6. Blume, C. and Jakob, W.: PASRO. Pascal for Robots, Springer-Verlag, 1985.

  7. Blume, C. and Jakob, W.: Programming Languages for Industrial Robots, Springer-Verlag, Heidelberg, 1985.

    Google Scholar 

  8. Dobler, H. and Pirklbauer, K.: COCO-2 — A New Compiler Compiler, SIGPLAN Notices 25 (1990).

  9. Farrow, R.: Generating a Production Compiler from an Attribute Grammar, IEEE Software 1(4) (October 1984), 77–93.

    Google Scholar 

  10. Ganzinger, H., Giegerich, R., Moncke, U., and Wilhelm, R.: A truly generative semantics-directed compiler generator, Proc. SIGPLAN Symp. Compiler Construction, ACM, June 1982.

  11. Johnson, S. C.: YACC — Yet Another Compiler-Compiler, Bell Laboratories, 1975.

  12. Kastens, U., Hutt, B., and Zimmerman, E.: GAG — A practical Compiler Generator, Lecture Notes in Computer Science, Springer, 1982.

  13. Kirćanski, N., Leković, Dj., Borić, M., Vukobratović, M., Djurović, M., Djurović, N., Petrović, T., Karan, B., and Urošević, D.: A distributed PC-based control system for education in robotics, Robotica 9 (1991), 235–245.

    Google Scholar 

  14. Kirćanski, N., Vukobratović, M., Karan, B., Kirćanski, M., and Timčenko, A.: Multiprocessor control system for industrial robots, Robotics and Computer-Integrated and Manufacturing 8(2) (1991), 77–86.

    Google Scholar 

  15. Knuth, D. E. and Trabb Pardo, L.: Early development of programming languages, in Encyclopedia of Computer Science and Technology, Vol. 7, Marcel Dekker, New York, pp. 419–493.

  16. Koskimies, K.: A specification language for one-pass semantic analysis, SIGPLAN Notices 19(6) (1984), 179–189.

    Google Scholar 

  17. Lesk, M. E.: LEX — A Lexical Analyzer Generator, Bell Laboratories, 1975.

  18. Lorho, B.: Semantic Attribute Processing in the System Delta, Ershow and Koster, 1977, pp. 21–40.

  19. Meijer, H. and Nijholt, A.: YABBER — yet another bibliography: translator writing tools, SIGPLAN Notices 17 (1982), 10.

    Google Scholar 

  20. Mossenbock, H.: Alex — A simple and Efficient Scanner Generator, SIGPLAN Notices, 21 (May 1986).

  21. Pollack, B. W.: Compiler Techniques, Auerbach Publishers, Princeton, NJ, 1972.

    Google Scholar 

  22. Racković, M.:and Surla, D.: Implementation of a translator for robotic languages with the aid of compiler-compiler COCO-2, Bull. Appl. Mathematics, BAM 794/92(LXI) (1992), 207–218.

    Google Scholar 

  23. Racković, M.: Construction of the translator for the robotic programming languages, in Proc. Conf. Logic and Computer Science ‘LIRA '92’, Novi Sad, October 29–31, 1992, pp. 107–114.

  24. Racković, M.: Construction of a translator for robot-oriented programming languages, M. Sc. Thesis, Novi Sad, 1993 (in Serbian).

  25. Raiha, K.-J.: Bibliography on attribute grammars, SIGPLAN Notices 15 (1980), 3.

    Google Scholar 

  26. Raiha, K.-J., Saarinen, M., Sarjakoski, M., Sippu, S., Soisalon-Soininen, E., and Tienari, M.: Revised Report on the Compiler Writing System on HLP78, Report A-1983, Dept. Of Computer Science, University of Helsinki.

  27. Randell, B. and Russell, L. J.: Algol 60 Implementation, Academic Press, New York.

  28. Rechenberg, P. and Mossenbock, H.: A Compiler Generator for Microcomputers, Prentice Hall, 1989.

  29. Rosen, S.: Programming Systems and Languages, McGraw-Hill, New York.

  30. Varga, E.: Implementation of the translator for robot-oriented programming languages, Bull. Applied Mathematics, BAM 801/92(LXII) (1992), 64–73.

    Google Scholar 

  31. Wexelblat, R. L.: History of Programming Languages, Academic Press, New York.

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Racković, M. Construction of a translator for robot-programming languages. Journal of Intelligent and Robotic Systems 15, 209–232 (1996). https://doi.org/10.1007/BF00125494

Download citation

  • Received:

  • Accepted:

  • Issue Date:

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

Key words

Navigation