Hi Simone,
Great - it's always nice to hear about another use for Jiffle !
Depending on your needs, you might be fine with the existing version
which has been well tested and used for some time as the raster
calculator for JGrassTools. Have a look at the user guide
(
jaitools.org) and the demo programs in the distribution to see what
it can do currently.
I've been wanting to move Jiffle over to ANTLR v4 for some time
because it will make the code for the compiler much cleaner and easier
to extend. I wasn't planning any changes to Jiffle's syntax in this
round - but if you had requirements or ideas for new language features
this would be a good time to discuss them. I've got some ideas for
down the track (e.g. specified iteration order).
There is also the Jiffle image op. It's just a skeleton at the moment
and has never been used for anything, but if your work would require
using Jiffle in a JAI chain then you might like to take a look at it.
However, for a Process I'd imagine you would work directly with the
Jiffle compiler (e.g. JiffleBuilder class).
Regarding timing - hard to say... It depends on how fast I can get my
head around the finer points of ANTLR v4 (and un-learn ANTLR v3). I'm
aiming for late next month at the moment. Regarding help... once the
back-end is moved over to ANTLR v4 the code will be much easier to
work with and I'd be more than happy to share the hacking with you.
Alternatively, if you use the current version but need changes to the
API (e.g. other entry points) then pull requests would be the way to
go.
Michael
On 19 July 2013 05:02, Simone Giannecchini