The following stratego code works fine when compiled with either strc or strj. When used in the interpreter, both matches fail.

  !"aaa"{"bbb"}
; where(try(?"aaa"; debug(!"Match aaa: ")))
; where(try(?"aaa"{"bbb"}; debug(!"Match aaa{bbb}: ")))

Output of compiled version:

Match aaa: aaa
Match aaa{bbb}: aaa
Submitted by Nathan Bruning on 1 April 2010 at 14:40

On 1 April 2010 at 14:43 Lennart Kats commented:

This is a Stratego issue: I moved it to StrategoXT/806.

Log in to post comments