26.09.2013 Views

Transformation of Applicative Specifications into Imperative ...

Transformation of Applicative Specifications into Imperative ...

Transformation of Applicative Specifications into Imperative ...

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 />

:<br />

;<br />

TypeExpr te = null ;<br />

new RSLListDefault() ;<br />

b = binding<br />

(<br />

COLON te = type_expr<br />

{ t = new Make_SingleTyping (<br />

new SingleTyping (b , te ) ) ; }<br />

|<br />

COMMA<br />

{ b i n d i n g _ l i s t . g e t L i s t ( ) . add ( b ) ; }<br />

b = binding<br />

{ b i n d i n g _ l i s t . g e t L i s t ( ) . add ( b ) ; }<br />

(<br />

COMMA b = binding<br />

{ b i n d i n g _ l i s t . g e t L i s t ( ) . add ( b ) ; }<br />

) ∗<br />

COLON te = type_expr<br />

{ t = new Make_MultipleTyping (<br />

new MultipleTyping ( b i n d i n g _ l i s t , te ) ) ; }<br />

)<br />

binding returns [ Binding b ] {<br />

b = null ;<br />

Binding b1 = null ;<br />

Id i d e n t i f i e r = null ;<br />

RSLListDefault b i n d i n g _ l i s t =<br />

new RSLListDefault() ;<br />

}<br />

:<br />

(<br />

b1 = s i n g l e _ b i n d i n g<br />

{b = b1 ; }<br />

|<br />

b1 = prod_binding<br />

{b = b1 ; }<br />

)<br />

;<br />

s i n g l e _ b i n d i n g returns [ Binding b ] {<br />

b = null ;<br />

Id i d e n t i f i e r = null ;<br />

}<br />

: i d e n t i f i e r = id<br />

{b = new IdBinding ( i d e n t i f i e r ) ; }<br />

;<br />

485

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

Saved successfully!

Ooh no, something went wrong!