sdf2rtg and rtg2signature introduce new sorts for tuples occurring inside of lists and options.

 (A B)+ -> C {"C"}

results in

  : A * B -> A_B0
C : List(A_B0) -> C

The introduction of new sorts can be avoided by supporting generic tuple sorts:

 C: List(Tuple(A, B)) -> C

 : a * b -> Tuple(a, b)
 : a * b * c -> Tuple(a, b, c)
 ...
Submitted by Guido Wachsmuth on 10 March 2013 at 11:23

On 10 March 2013 at 11:23 Guido Wachsmuth tagged stratego

On 10 March 2013 at 11:23 Guido Wachsmuth tagged generator

On 10 March 2013 at 11:23 Guido Wachsmuth tagged sdf

On 11 March 2013 at 13:33 Barnabás Králik removed tag sdf

On 18 March 2013 at 01:37 Guido Wachsmuth tagged sdf

Log in to post comments