[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 "/tests/typed-racket/succeed/null-program.rkt") with Typed Racket instrumented to do logging on a logger built with

[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

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 do

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? https://github.com/dyoo/racket/commit/3a3b0f90084b

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 d

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 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 wrote: >> >> Do you m

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,

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

2013-01-16 Thread Danny Yoo
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? _ Racket Developers list: http://lists.racket-lang.org/dev

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

2013-01-16 Thread Sam Tobin-Hochstadt
Do you mean the "automatically populate compiled directories" setting, or the "online compilation"? Sam On Wed, Jan 16, 2013 at 10:37 AM, Robby Findler wrote: > 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

[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 cour

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 Tobin-Hochstadt

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

2013-01-16 Thread Sam Tobin-Hochstadt
I'm not sure if this is a bug or not, so I'm bringing it up on the list. But when I do the following: #lang racket (require compiler/cm) (manager-compile-notify-handler displayln) (managed-compile-zo "/home/samth/sw/plt/collects/tests/typed-racket/succeed/null-program.rkt") Then the compiler pla