AbstractDomain-specific languages form programming support leading to simpler and safer programs, which is highly desirable for programming embedded systems and manufacturing equipment. However, language design is non-trivial, and the required development effort is often too costly for industrial projects. To cope with this problem, we have implemented a highly interactive tool, APPLAB, for developing and experimenting with domain-specific languages, and used it in the development of a programming environment for industrial robots. APPLAB supports the development of domain-specific languages by providing a high-level specification formalism (reference attributed grammars), and by providing integrated language-based support for editing syntax, semantics and the application program. The tool was connected to an industrial robot and confronted with programming topics encountered in typical industrial applications. Experiences from our full-scale prototype, including the development of a robot programming language, shows that interactive language development is very beneficial for programming of embedded systems.
Categories and Subject Descriptors: C.3 [Special-Purpose and Application-Based Systems]; D.1.5 [Programming Techniques]: Object-oriented Programming; D.2.6 [Software Engineering]: Programming Environments; D.3.4 [Programming Languages]: Processors
Additional Key Words and Phrases: domain specific languages, interactive tools, attribute grammars, embedded systems, industrial robots
Selected references
- Gregor Engels, C. Lewerence, Manfred Nagl, W. Schäfer, and Andy Schürr. Building integrated software development environments part I: Tool specification. ACM Transactions on Software Engineering and Methodology, 1(2):135-167, April 1992.
- David Garlan, Charles W. Krueger, and Barbara Staudt Lerner. TransformGen: Automating the maintenance of structure-oriented environments. ACM Transactions on Programming Languages and Systems, 16(3):727-774, May 1994.
- Paul Klint. A meta-environment for generating programming environments. ACM Transactions on Software Engineering and Methodology, 2(2):176-201, April 1993.
- H. H. Vogt, S. Doaitse Swierstra, and M. F. Kuiper. Higher-order attribute grammars. In Proceedings of the ACM SIGPLAN'89 Conference on Programming Language Design and Implementation (PLDI), pages 131-145, Portland, Oregon, 21-23 June 1989. SIGPLAN Notices 24(7), July 1989.