1. Home
  2. Computing & Technology
  3. Ruby

Syntax

By , About.com Guide

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

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. 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.