[Next] [Up] [Previous] [Contents]
Next: Module definitions Up: Syntax Previous: Types

Statements

The grammar rules for statements are:

 
		 stmt::					lhstup : type ;

| lhs [:=|<-] expr ;

| { block }

| if ( expr ) stmt

| case { cblk }

| switch ( tuple ) { cblk }

| [for|chain] ( atom = expr ; expr ; atom = expr ) stmt

lhs:: id

| next ( id )

| ( lhstup )

lhstup:: tex2html_wrap_inline1002

| lhs

| lhstup lhs

block:: stmt

| block stmt

cblk:: expr : stmt

| cblk expr : stmt



Ken McMillan
Sat Jun 6 21:41:59 PDT 1998