<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Hi Klaus,<br>
<br>
from your code I cannot tell where exactly you're stuck. A general
hint may be to have a look at the parsec library.<br>
<br>
<br>
On 02/25/2011 09:51 AM, Hauschild, Klaus (EXT) wrote:
<blockquote
cite="mid:E8B9EF9A1B004640A3C7A053828D50EC03B4E0A633@DEFTHW99E85MSX.ww902.siemens.net"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
<font face="Arial, sans-serif" size="2">
<div>Hi,</div>
<div> </div>
<div>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: <a moz-do-not-send="true"
href="http://code.google.com/p/hgmltracer/source/browse/"><font
color="#0000ff"><u>http://code.google.com/p/hgmltracer/source/browse/</u></font></a></div>
<div>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.</div>
<div>But the parser converting a string (contained in the
program file provided as command line argument) is hard stuff
and I'm stuck.</div>
<div> </div>
<div>Can any one help me with ideas or concepts for this parser?</div>
<div> </div>
<div>Thanks</div>
<div> </div>
</font>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Haskell-Cafe mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a>
<a class="moz-txt-link-freetext" href="http://www.haskell.org/mailman/listinfo/haskell-cafe">http://www.haskell.org/mailman/listinfo/haskell-cafe</a>
</pre>
</blockquote>
<br>
</body>
</html>