19.11.2014 Views

The Fortress Language Specification - CiteSeerX

The Fortress Language Specification - CiteSeerX

The Fortress Language Specification - CiteSeerX

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

-> "}"<br />

comprehension<br />

-> set_comprehension<br />

-> list_comprehension<br />

-> map_comprehension<br />

-> rect_comprehension<br />

comprehension_rhs<br />

-> expr<br />

-> generator<br />

-> expr w "," w comprehension_rhs<br />

-> generator w "," w comprehension_rhs<br />

set_comprehension<br />

-> "{" w expr wr "|" wr comprehension_rhs w "}"<br />

list_comprehension<br />

-> ""<br />

map_comprehension<br />

-> "[" w expr w "|->" w expr wr "|" wr comprehension_rhs w "]"<br />

rect_comprehension<br />

-> "[" w rect_comp_clauses w "]"<br />

rect_comp_clauses<br />

-> rect_comp_clause<br />

-> rect_comp_clause br rect_comp_clauses<br />

rect_comp_clause<br />

-> "(" w comma_sep_exprs w ")" w "=" w expr wr<br />

"|" wr comprehension_rhs<br />

parenthesized<br />

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

base_value_expr<br />

-> literal<br />

literal<br />

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

-> INT<br />

-> FLOAT<br />

-> STRING<br />

-> CHAR<br />

-> map_expr<br />

-> rect_expr<br />

rect_expr<br />

-> "[" w rect_elements w "]"<br />

401

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

Saved successfully!

Ooh no, something went wrong!