[racket] parser-tools help

From: Eli Barzilay (eli at barzilay.org)
Date: Wed Nov 30 09:25:16 EST 2011

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 <hkBst at gentoo.org> 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], [...]

In this case, you could do this:

  (define input @string-append{
    turn 0
    loadtime 3000
    turntime 1000
    rows 20
    cols 20
    turns 500
    viewradius2 55
    attackradius2 5
    spawnradius2 1
    player_seed 42
    ready})

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!


Posted on the users mailing list.