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.

args_opt<br />

-><br />

-> w comma_sep_exprs w ","<br />

keyword_args<br />

# Ambiguity -- favor parses with largest number of keywords<br />

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

comma_sep_keywords<br />

-> id w "=" w expr<br />

-> id w "=" w expr w "," w comma_sep_keywords<br />

field_selection<br />

-> primary "." id<br />

base_expr<br />

-> parenthesized<br />

-> matched_enclosing_operator<br />

-> id<br />

-> base_value_expr<br />

-> comprehension<br />

matched_enclosing_operator<br />

-> not_yet_matched_enclosing_operator<br />

not_yet_matched_enclosing_operator<br />

-> left_op comma_sep_exprs_opt w right_op<br />

left_op_or_enc<br />

-> enc<br />

-> left_op<br />

right_op_or_enc<br />

-> enc<br />

-> right_op<br />

left_op<br />

-> left_op_literal<br />

right_op<br />

-> right_op_literal<br />

left_op_literal<br />

-> "LC"<br />

-> "LF"<br />

-> ""<br />

400

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

Saved successfully!

Ooh no, something went wrong!