[racket] compile-context-preservation-enabled and info.rkt files?

From: Eli Barzilay (eli at barzilay.org)
Date: Thu Nov 3 15:42:49 EDT 2011

50 minutes ago, Danny Yoo wrote:
> I'd like to be able to tell raco make to use
> (compile-context-preservation-enabled #t) when compiling my PLaneT
> package.  I don't see a configuration option I can provide in
> info.rkt, so I'm not sure if this is possible with the current
> info.rkt system.

There are no compiler settings in info files.


> Motivation: Whalesong does its work by grabbing module bytecode,
> including its system libraries.  Using syntax/modcode, it prefers
> bytecode that's already been compiled during the PLaneT compilation
> step, though I can always do compilation from scratch with
> read-syntax + compile.  The inlining done by the default compiler
> settings, combined with my translator, produces large JavaScript
> files.  I want to have the option to optimize on size, even if it
> costs some performance.

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


Posted on the users mailing list.