Skip to main content

Generating a Compiler for SDL from the Formal Language Definition

  • Conference paper
  • First Online:
SDL 2003: System Design (SDL 2003)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2708))

Included in the following conference series:

Abstract

The Specification and Description Language (SDL-2000) has formal definitions for syntax, well-formedness, and dynamic semantics. While these definitions have well-understood mathematical foundations, engineers prefer to execute formal definitions, instead of studying them on paper.We present a tool chain which starts with the formal definition, and translates that into a compiler. The resulting compiler starts with a textual representation of the specification, and produces a program in the underlying formal calculus (Abstract State Machines, ASM). The ASM program, when executed, produces a trace of the SDL specification according to the formal language definition. In the process of developing this compiler, a number of errors were found in the formal semantics, which have been corrected.

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

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Similar content being viewed by others

References

  1. A. Prinz. Formal Semantics for SDL — Definition and Implementation. Humboldt-Universität zu Berlin, 2001.

    Google Scholar 

  2. ITU-T. Recommendation Z.100 (08/02), Specification and Description Language (SDL). International Telecommunication Union, Geneva.

    Google Scholar 

  3. ITU-T. Recommendation T.50 (1992) International Reference Alphabet (IRA) (Formerly International Alphabet No. 5 or IA5)-Information technology-7-bit coded character set for information interchange. International Telecommunication Union, Geneva.

    Google Scholar 

  4. M. Piefel. Kimwitu++. http://site.informatik.hu-berlin.de/kimwitu++

  5. Y. Gurevich. Evolving Algebras 1993: Lipari Guide. Specification and Validation Methods, pages 9–36, Oxford University Press, 1995.

    Google Scholar 

  6. R. Eschbach, U. Glässer, R. Gotzhein, M. von Löwis, A. Prinz. Formal Definition of SDL-2000 — Compiling and Running SDL Specifications as ASM Models. Journal of Universal Computer Science 7(11), 2001, Springer, pp. 1025–1050.

    Google Scholar 

  7. Microsoft Research. AsmL. http://research.microsoft.com/foundations/AsmL/

  8. M. von Löwis, M. Piefel. The Term Processor Kimwitu++. Proceedings of the 6th World Conference on Systemics, Cybernetics, and Informatics, Orlando, 2002.

    Google Scholar 

  9. P. van Eÿk. Tools for LOTOS, a Lotosphere overview. Tutorial proceedings of 11th Symposium on Protocol Specification, Testing and Verification, Sydney, 1991.

    Google Scholar 

  10. U. Kastens. Executable Specifications for Language Implementation. Fifth International Symposium on Programming Language Implementations and Logic Programming, Tallinn, 1993, Springer LNCS 714, pp. 1–11.

    Google Scholar 

  11. Y. Gurevich, J.K. Huggins. The Semantics of the C Programming Language. Springer LNCS 702, Springer, 1993.

    Google Scholar 

  12. C. Wallace. The Semantics of the C++ Programming Language. Specification and Validation Methods, Oxford University Press, 1995.

    Google Scholar 

  13. J. Grosch, H. Emmelmann. Werkzeuge für den Übersetzerbau. Achern, 1995.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2003 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Prinz, A., v. Löwis, M. (2003). Generating a Compiler for SDL from the Formal Language Definition. In: Reed, R., Reed, J. (eds) SDL 2003: System Design. SDL 2003. Lecture Notes in Computer Science, vol 2708. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45075-0_9

Download citation

  • DOI: https://doi.org/10.1007/3-540-45075-0_9

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-40539-9

  • Online ISBN: 978-3-540-45075-7

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics