[Haskell-cafe] http://www.cs.cornell.edu/icfp/task.htm

Tobias Schoofs tobias.schoofs at gmx.net
Fri Feb 25 23:05:02 CET 2011


Hi Klaus,

from your code I cannot tell where exactly you're stuck. A general hint 
may be to have a look at the parsec library.


On 02/25/2011 09:51 AM, Hauschild, Klaus (EXT) wrote:
> Hi,
> Currently I'm trying to lern Haskell by doing. After doing some 
> examples I plan to solve an ICFP task (see subject). In short: build 
> an interpreter for a stack based language thata describes a 3D scene. 
> Ray trace this scene in an image. My current source state can be found 
> here: _http://code.google.com/p/hgmltracer/source/browse/_
> My first goal is to develop the interpreter of the GML language. My 
> source contains a data GmlToken with various constructors for the 
> different operators, sequences, int, real, string an so on. Some code 
> for the evaluation is also there und working.
> But the parser converting a string (contained in the program file 
> provided as command line argument) is hard stuff and I'm stuck.
> Can any one help me with ideas or concepts for this parser?
> Thanks
>
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110225/759bfec5/attachment.htm>


More information about the Haskell-Cafe mailing list