Skip to main content Accessibility help
×
Hostname: page-component-77c89778f8-9q27g Total loading time: 0 Render date: 2024-07-23T02:36:19.473Z Has data issue: false hasContentIssue false

2 - The Mathematica language

Published online by Cambridge University Press:  05 December 2015

Get access

Summary

Throughout our history, humans have developed thousands of languages in order to communicate with each other. These natural languages, such as Mandarin, Bantu, or Finnish, evolved through ordinary usage over millennia, with rules for grammar developing organically and changing frequently. Then in 1879, Gottlieb Frege, in his Begriffsschrift, invented what is often referred to as the first formal language. Formal languages are designed for specific tasks; in Frege's case, he was attempting to formalize mathematical logic. Mathematics itself is a formal language, one used to express ideas about number, pattern, space, and other concepts. Although they too have evolved over many years, mathematics and logic differ from natural languages in that they have been formally constructed and have quite explicit and rigid rules regarding syntax.

Programming languages are, like mathematics, formal languages, but they are constructed to communicate with a machine and to command it to carry out certain instructions. Thought to have their origin in the 1940s and 1950s when the first digital computers came about, in fact programming languages go back much earlier to the creation of the Jacquard loom (1801), player pianos (mid-1800s), and mechanical organs (Anselmo Gavioli, 1892), all of which used physical punch cards or rolls to code and store instructions to weave fabric or play an instrument. The connection with computing probably begins with Herman Hollerith's innovation of using punch cards to store information for the US Census of 1890. Hollerith later founded a company to market his inventions and in 1924, that company became IBM.

Regardless of the mechanism used to store programs, all programming languages are described by specifying their syntax and semantics. Syntax refers to the form, indicating what symbols can be put together and in what order to make a meaningful construct in a given language. In other words, the syntax of a programming language is the set of rules that define what is a valid input or program.

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 2015

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

  • The Mathematica language
  • Paul Wellin
  • Book: Essentials of Programming in <I>Mathematica</I>®
  • Online publication: 05 December 2015
  • Chapter DOI: https://doi.org/10.1017/CBO9781316337738.003
Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

  • The Mathematica language
  • Paul Wellin
  • Book: Essentials of Programming in <I>Mathematica</I>®
  • Online publication: 05 December 2015
  • Chapter DOI: https://doi.org/10.1017/CBO9781316337738.003
Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

  • The Mathematica language
  • Paul Wellin
  • Book: Essentials of Programming in <I>Mathematica</I>®
  • Online publication: 05 December 2015
  • Chapter DOI: https://doi.org/10.1017/CBO9781316337738.003
Available formats
×