Re: [racket-dev] Running in DrRacket changes behavior of the `compiler/cm` library

2013-01-16 Thread Robby Findler
It may be possible to change drracket to only set that parameter when it is compiling files, but for now I think you have to disable drracket's auto compilation (in the language dialog's show details section) to develop programs like this. Robby On Wednesday, January 16, 2013, Sam

[racket-dev] DrRacket, automatic compilation, and images in files

2013-01-16 Thread Sam Tobin-Hochstadt
In the first-year course that David and I are teaching, we use custom languages specified with #lang, multiple files, DrRacket, and images embedded in .rkt files. Unfortunately, these features, which are all great on their own, don't play nicely together. As a result, I ended up writing this

Re: [racket-dev] Running in DrRacket changes behavior of the `compiler/cm` library

2013-01-16 Thread Robby Findler
The former. And maybe there is a problem with drracket sharing too much with the user program too. Robby On Wednesday, January 16, 2013, Sam Tobin-Hochstadt wrote: Do you mean the automatically populate compiled directories setting, or the online compilation? Sam On Wed, Jan 16, 2013 at

Re: [racket-dev] Running in DrRacket changes behavior of the `compiler/cm` library

2013-01-16 Thread Sam Tobin-Hochstadt
On Wed, Jan 16, 2013 at 10:55 AM, Robby Findler ro...@eecs.northwestern.edu wrote: The former. Ok, great. Happily back to using DrRacket. :) And maybe there is a problem with drracket sharing too much with the user program too. Robby On Wednesday, January 16, 2013, Sam Tobin-Hochstadt

Re: [racket-dev] request to move cfg-parser from algol60 into parser-tools

2013-01-16 Thread Matthew Flatt
At Wed, 16 Jan 2013 08:44:33 -0700, Danny Yoo wrote: Ok, done. I've also did a copy-and-paste of the documentation for parser-tools/yacc, but adjusted the prose where cfg-parser deviates from the standard parser interface. Does it look ok? Cut-and-paste worries me. Instead of copying the

Re: [racket-dev] request to move cfg-parser from algol60 into parser-tools

2013-01-16 Thread Danny Yoo
Cut-and-paste worries me. Instead of copying the documentation for X to Y, usually it works better to document X as Like Y, except Could that work in this case? Ok, I can change it so it just documents the delta. How does this look?

Re: [racket-dev] request to move cfg-parser from algol60 into parser-tools

2013-01-16 Thread Matthew Flatt
At Wed, 16 Jan 2013 10:28:23 -0700, Danny Yoo wrote: Cut-and-paste worries me. Instead of copying the documentation for X to Y, usually it works better to document X as Like Y, except Could that work in this case? Ok, I can change it so it just documents the delta. How does this

[racket-dev] replacing current-load/use-compiled

2013-01-16 Thread Dan Liebgold
Does anyone know if there's a way to replace current-load/use-compiled at startup time without changing cstartup.inc and rebuilding executables? -- Dan Liebgold[dan.liebg...@gmail.com] _ Racket Developers list: http://lists.racket-lang.org/dev

[racket-dev] `managed-compile-zo` seems to eat debug-level log messages

2013-01-16 Thread Sam Tobin-Hochstadt
I'm trying to use logging to time various portions of Typed Racket compilation, and I'm running into trouble. In particular, when I do something like this: (managed-compile-zo collects/tests/typed-racket/succeed/null-program.rkt) with Typed Racket instrumented to do logging on a logger