19.11.2014 Views

The Fortress Language Specification - CiteSeerX

The Fortress Language Specification - CiteSeerX

The Fortress Language Specification - CiteSeerX

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

-> do_expr<br />

-> for_expr<br />

-> spawn_expr<br />

-> if_expr<br />

-> try_expr<br />

-> case_expr<br />

-> type_case_expr<br />

-> while_expr<br />

-> accumulator<br />

-> atomic_expr<br />

-> tryatomic_expr<br />

-> throw_expr<br />

-> exit_expr<br />

label_expr<br />

-> "label" w id w exprs w "end" w id<br />

while_expr<br />

-> "while" w expr w do_expr<br />

type_case_expr<br />

-> "typecase" w type_case<br />

type_case<br />

-> type_case_bindings w "in" w type_case_clauses w "end"<br />

-> type_case_bindings w "in" w type_case_clauses br type_case_else w "end"<br />

type_case_else<br />

-> "else" w "=>" w exprs<br />

type_case_type_refs<br />

-> type_ref<br />

-> "(" w type_refs w ")"<br />

type_clause<br />

-> type_case_type_refs w "=>" w exprs<br />

type_case_clauses<br />

-> type_clause<br />

-> type_clause br type_case_clauses<br />

type_case_bindings<br />

-> id<br />

-> bindings<br />

bindings<br />

-> binding<br />

-> "(" w comma_sep_bindings w ")"<br />

comma_sep_bindings<br />

-> binding<br />

-> binding w "," w comma_sep_bindings<br />

403

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!