Skip to main content

Syntax

  • Chapter
  • First Online:
Foundations of Programming Languages

Part of the book series: Undergraduate Topics in Computer Science ((UTICS))

  • 3557 Accesses

Abstract

Once you’ve learned to program in one language, learning a similar programming language isn’t all that hard. But, understanding just how to write in the new language takes looking at examples or reading documentation to learn its details. In other words, you need to know the mechanics of putting a program together in the new language. Are the semicolons in the right places? Do you use begin ... end or do you use curly braces (i.e. { and }). Learning how a program is put together is called learning the syntax of the language. Syntax refers to the words and symbols of a language and how to write the symbols down in some meaningful order.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 44.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Kent D. Lee .

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Springer International Publishing Switzerland

About this chapter

Cite this chapter

Lee, K.D. (2014). Syntax. In: Foundations of Programming Languages. Undergraduate Topics in Computer Science. Springer, Cham. https://doi.org/10.1007/978-3-319-13314-0_2

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-13314-0_2

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-13313-3

  • Online ISBN: 978-3-319-13314-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics