1. Home
  2. Computing & Technology
  3. Ruby

Syntax

By Amanda & Michael Morin, About.com

Definition:

Syntax: The syntax of a language is the grammatical rules it must follow in order to be understood by the interpreter or compiler. The syntax of a language defines how to write statements, how to use the operators and how to use the basic control structures. Some languages, like Ruby, have a complex syntax that allows the programmer to express things easily. Other languages (such as Lisp) have a minimal syntax to make it easier to write compilers and interpreters.

Explore Ruby
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Ruby
  4. Glossary
  5. S - Z
  6. Syntax

©2009 About.com, a part of The New York Times Company.

All rights reserved.