Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: Glish Syntax and Grammar Up: The Glish 2.7 User Manual DRAFT Previous: Command-line Editing


Glish Syntax and Grammar

The Glish syntax is free-form.

Comments begin with # and extend to the end of the line. Statements are formally terminated with semi-colons but in general Glish is able to infer the end of a statement and supply an implicit terminator at the end of a line. Identifiers are case-sensitive; record field names and event names have separate name spaces and may include keywords.

In the following grammar, some liberties are taken with the normal BNF form in order to simplify the presentation of the grammar. Outside of quotes, ()'s enclose a group of tokens, * indicates zero or more occurrences, and ? indicates zero or one occurrence. Terminals are surrounded with quotes or appear in uppercase.


next up previous contents index
Next: Glish Syntax and Grammar Up: The Glish 2.7 User Manual DRAFT Previous: Command-line Editing   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15