[racket] parser-tools help

From: Sam Tobin-Hochstadt (samth at ccs.neu.edu)
Date: Wed Nov 30 08:44:53 EST 2011

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], it supports this:

  The Scribble syntax treats spaces and newlines in a special way
  is meant to be sensible for dealing with text. As mentioned
  above, spaces at the beginning and end of body lines are
  discarded, except for spaces between a { and text, or between
  text and a }.

http://docs.racket-lang.org/scribble/reader.html#%28part._.Spaces__.Newlines__and_.Indentation%29

[1] http://docs.racket-lang.org/scribble/reader-internals.html#%28part._at-exp-lang%29
-- 
sam th
samth at ccs.neu.edu


Posted on the users mailing list.