The generated Stratego file for test.ts is test.generated.str. The only way to include the generated file in a Stratego file is by writing either include test.generated or include somefolder/-.

This is inconsistent with NaBL: NaBL generates test.str for test.nab, and including it is simply include test.

Wouldn’t it be better if test.ts generates test.str instead, to be consistent with NaBL and to make includes tidier?

Submitted by D. Pelsmaeker on 12 June 2014 at 11:20

On 12 June 2014 at 11:43 Eelco Visser commented:

Or rather, have NaBL also generate .generated extensions.

Even, it might be useful to consider including the language name in the name of the generated file: test.nabl.str and test.ts.str


On 12 June 2014 at 11:45 Gabriël Konat commented:

And they should go into the src-gen directory ;)

Log in to post comments