Home

Products

Documentation

Download

Support

 

Documentation

Language Specification - Usage


Prev

Next


This document defines the modeling language for Brahms. This document is to be used by model builders to create Brahms models. Brahms model builders will have to comply to the language as defined in this document. This document is also used as a requirements specification for the parser that needs to be build to parse these models.

The language element are defined in BNF (Backus Naur Form) grammar rules. The notation used in these grammar rules is given in table 1.

 

Construct Interpretation
::= * + {} [] | . Symbols part of the BNF formalism
X ::= Y The syntax of X is defined by Y
{X} Zero or one occurrence of X
X* Zero or more occurrences of X
X+ One or more occurrences of X
X | Y One of X or Y (exclusive or)
[X] Grouping construct for specifying scope of operators e.g. [X|Y] or [X]*
symbol Predefined terminal symbol of the language
symbol User-defined terminal symbol of the language
symbol Non-terminal symbol

Table 1: Synopsis of the notation used in BNF grammar rules

 


Questions or problems regarding this web site should be directed to the Webmaster.
Copyright © 2000 NASA Ames Research Center. All rights reserved.
Last modified: Monday April 30, 2007.