>>> "SIGOURE" == SIGOURE Benoit <sigoure.benoit(a)lrde.epita.fr> writes:
> Index: tests/xrm/static-for-step.xpm
> --- tests/xrm/static-for-step.xpm (revision 26)
> +++ tests/xrm/static-for-step.xpm (working copy)
> @@ -2,11 +2,9 @@
> for i from 0 to 42 step 2 do
> module dummy[i]
> - for i from 0 to 42 step 2 do
> - // FIXME: x here shall be replaced with x[i]
> - // but this is not supported ATM
> - x : [0..1];
> - [] x=0 -> x'=1;
> + for j from 0 to 42 step 2 do
> + x[i][j] : [0..1];
> + [] x[i][j]=0 -> x[i][j]'=1;
> end
> endmodule
> end
C'est la fête !
>>> "SIGOURE" == SIGOURE Benoit <sigoure.benoit(a)lrde.epita.fr> writes:
> + sorts UpdateElement
> + context-free syntax
> + "(" ArrayAccessPrime "=" Expression ")"
> + -> UpdateElement {cons("UpdateElement")}
> +
> + %% NOTE: Officially this form is NOT supported but it is still supported
> + %% for backwards compatibility. This form introduces an ambiguity
> + %% because the `+' between the elements can be bound to the
> + %% Expression or can be a separator between two elements.
> + ArrayAccessPrime "=" Expression -> UpdateElement {cons("UpdateElement")}
Je comprends pas bien ce que tu veux dire.
>>> "SIGOURE" == SIGOURE Benoit <sigoure.benoit(a)lrde.epita.fr> writes:
> + , Summary("Transforms an eXtended Reactive Module source file in a
> + PRISM-equivalant abstract syntax tree (default) or source
Equivalent.
Other than that, nice patch!
>>> "SIGOURE" == SIGOURE Benoit <sigoure.benoit(a)lrde.epita.fr> writes:
> Add meta code evaluation [debug version].
> This is the first working version with complete meta code evaluation.
> For loops and Ifs are evaluated at the meta-level and code is
> generated by xrm-front accordingly.
> /!\ This version contains debugging messages to be removed.
> The code also needs to be cleaned up and re-organized a bit.
> The first Release Candidate is on its way! \o/
Sincères félicitations !