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.
Similar content being viewed by others
References
Aho, A. V. and Ullman, J. D.: Syntax directed translations and the pushdown assembler, J. Computer and System Sci. 3(1) (1969), 37–56.
Aho, A. V. and Ullman, J. D.: Properties of syntax directed translations, J. Computer and System Sci. 3(3) (1969), 319–334.
Aho, A. V. and Ullman, J. D.: The Theory of Parsing, Translations, and Compiling, Prentice-Hall, 1972.
Aho, A. V., Sethi, R., and Ullman, J. D.: Compilers: Principles, Techniques and Tools, Addison-Wesley, 1985.
Blume, C.: PASRO-Description, BIOMATIK GmbH, Freiburg, 1983.
Blume, C. and Jakob, W.: PASRO. Pascal for Robots, Springer-Verlag, 1985.
Blume, C. and Jakob, W.: Programming Languages for Industrial Robots, Springer-Verlag, Heidelberg, 1985.
Dobler, H. and Pirklbauer, K.: COCO-2 — A New Compiler Compiler, SIGPLAN Notices 25 (1990).
Farrow, R.: Generating a Production Compiler from an Attribute Grammar, IEEE Software 1(4) (October 1984), 77–93.
Ganzinger, H., Giegerich, R., Moncke, U., and Wilhelm, R.: A truly generative semantics-directed compiler generator, Proc. SIGPLAN Symp. Compiler Construction, ACM, June 1982.
Johnson, S. C.: YACC — Yet Another Compiler-Compiler, Bell Laboratories, 1975.
Kastens, U., Hutt, B., and Zimmerman, E.: GAG — A practical Compiler Generator, Lecture Notes in Computer Science, Springer, 1982.
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.
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.
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.
Koskimies, K.: A specification language for one-pass semantic analysis, SIGPLAN Notices 19(6) (1984), 179–189.
Lesk, M. E.: LEX — A Lexical Analyzer Generator, Bell Laboratories, 1975.
Lorho, B.: Semantic Attribute Processing in the System Delta, Ershow and Koster, 1977, pp. 21–40.
Meijer, H. and Nijholt, A.: YABBER — yet another bibliography: translator writing tools, SIGPLAN Notices 17 (1982), 10.
Mossenbock, H.: Alex — A simple and Efficient Scanner Generator, SIGPLAN Notices, 21 (May 1986).
Pollack, B. W.: Compiler Techniques, Auerbach Publishers, Princeton, NJ, 1972.
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.
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.
Racković, M.: Construction of a translator for robot-oriented programming languages, M. Sc. Thesis, Novi Sad, 1993 (in Serbian).
Raiha, K.-J.: Bibliography on attribute grammars, SIGPLAN Notices 15 (1980), 3.
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.
Randell, B. and Russell, L. J.: Algol 60 Implementation, Academic Press, New York.
Rechenberg, P. and Mossenbock, H.: A Compiler Generator for Microcomputers, Prentice Hall, 1989.
Rosen, S.: Programming Systems and Languages, McGraw-Hill, New York.
Varga, E.: Implementation of the translator for robot-oriented programming languages, Bull. Applied Mathematics, BAM 801/92(LXII) (1992), 64–73.
Wexelblat, R. L.: History of Programming Languages, Academic Press, New York.
Author information
Authors and Affiliations
Rights 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
Received:
Accepted:
Issue Date:
DOI: https://doi.org/10.1007/BF00125494