Hi Marijn,
Two quick points:
(1) The parser works with token structs, not symbols. Whenever you declare
a token, a cooresponding "token-" form is made available to you when
using lexer.
You can find two examples of all this in your
Racket\collects\parser-tools\examples folder. To see the process,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Timothy,
On 30-11-11 15:14, Timothy Nelson wrote:
> Hi Marijn,
>
> Two quick points:
>
> (1) The parser works with token structs, not symbols. Whenever you
> declare a token, a cooresponding "token-" form is made
> available to you when using lex
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 30-11-11 14:33, Marijn wrote:
> Hi,
>
> I'm trying to use the parser-tools to parse the startup info for
> the Google AI Challenge, but I am not sure what I'm doing wrong.
I managed to get my code working, see below. (BTW parser gives a
really sil
40 minutes ago, Sam Tobin-Hochstadt wrote:
> To answer the most insignificant part of your email:
>
> On Wed, Nov 30, 2011 at 8:33 AM, Marijn wrote:
> > Finally, do racket's here-strings support indented format like
> > bash's here-strings do?
>
> No, but if you use the Scribble `at-exp' reader
To answer the most insignificant part of your email:
On Wed, Nov 30, 2011 at 8:33 AM, Marijn wrote:
> Finally, do racket's here-strings
> support indented format like bash's here-strings do?
No, but if you use the Scribble `at-exp' reader [1], it supports this:
The Scribble syntax treats spac
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
I'm trying to use the parser-tools to parse the startup info for the
Google AI Challenge, but I am not sure what I'm doing wrong. As a
secondary question, given the repetitive nature of the code, how would
one use macros to make it better? Finally
6 matches
Mail list logo