This of course sounds very fun Michael; indeed a small DSL on this subject
would be very fun indeed. It has been some ears since I worked with Antlr.
Where is your project going to be published; it would be a great thing
to integrate into uDig (and sounds similar to some of the JGrass work that
has already occurred).
Jody
On Tue, Jan 20, 2009 at 2:13 PM, Michael Bedward
<[email protected]>wrote:
> Hi folks,
>
> Warning - this is another one of those "is anyone interested in this
> stuff" posts :-)
>
> For my project I required a way of mapping mathematical expressions,
> optionally taking image position (absolute or proportional) as input.
> I'm doing this to create artificial resource maps ('neutral landscape
> models' in ecological jargon) for animal population modelling.
>
> The expressions are supplied by the user in a text file (for my app
> this is a section within a more general parameters file). Essential
> it's a very simple DSL supporting arithmetic and logical operators,
> common maths functions, random number gen, and use of local vars.
> It's implemented using ANTLR parser and tree grammars. So, in a
> nutshell, the user-supplied 'script' is interpreted by the parser and
> mapped using JAI ImageFunction.
>
> Essentially it's heading towards an 'analytical coverage' and although
> I'm presently working with grids one can imagine applying it for
> continuous surfaces.
>
> Michael
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> Geotools-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel