>> "SIGOURE" == SIGOURE Benoit
<sigoure.benoit(a)lrde.epita.fr> writes:
https://svn.lrde.epita.fr/svn/xrm/trunk
Index: ChangeLog
from SIGOURE Benoit <sigoure.benoit(a)lrde.epita.fr>
Add RIVF's equivalent in XRM meta-code.
Usage: xrm-front -i rivf.xpm -o rivf.pm -D
-D stands for --desugar (it will add an additional pass after the
main pipeline to desugar as much as possible everything and perform
constant propagation). This is completely optional.
One thing has been omitted here: support for battery_mode=0 (which is
basically the same thing but without bothering with b[x][y] and
without having to check at every update whether or not we should go
in the OFF state because we run out of power). I omitted this for the
sake of clarity although it's fairly straightforward to add it (since
it's only a matter of commenting out some lines).
It is really nice. However, the M4 solution remains clearer IMHO.
Functions will be most welcome.