Re: [r6rs] quest to make the makers package work

2010-06-19 Thread Marco Maggi
"Andy Wingo" wrote: > I added open-string-input-port and > open-string-output-port, and at this point Marco's module > passes its tests, though with many warnings about > duplicated bindings. Yes! Thanks to everyone. My infix to prefix transformer works too,

Re: Performance

2010-06-19 Thread Andy Wingo
Hello, On Sat 19 Jun 2010 17:05, Cecil Westerhof writes: > Op zaterdag 19 jun 2010 11:16 CEST schreef Andy Wingo: > >> ,profile (call-my-function) > > (main ("temp/input" "dummy.log" "^ +" "1234567890")) Almost. At the repl, type: (load "dummy.scm") Then: ,profile (main '("dummy.scm" "

Re: Performance

2010-06-19 Thread Thien-Thi Nguyen
() Cecil Westerhof () Sat, 19 Jun 2010 17:05:50 +0200 (main ("temp/input" "dummy.log" "^ +" "1234567890")) To answer this, you can try the following experiment: $ cat > program <

Re: Performance

2010-06-19 Thread Cecil Westerhof
Op zaterdag 19 jun 2010 11:16 CEST schreef Andy Wingo: > On Fri 18 Jun 2010 22:50, Cecil Westerhof writes: > >> Why is this so expensive? > > The general answer to this question can be found by profiling. You > should factor your code into a function, then from the repl: > > ,profile (call-my-fun

Re: Performance

2010-06-19 Thread Andy Wingo
On Fri 18 Jun 2010 22:50, Cecil Westerhof writes: > Why is this so expensive? The general answer to this question can be found by profiling. You should factor your code into a function, then from the repl: ,profile (call-my-function) I wonder, perhaps we should have a --profile command-line

Re: [r6rs] quest to make the makers package work

2010-06-19 Thread Andy Wingo
Hi Julian, On Fri 18 Jun 2010 16:06, Julian Graham writes: > Just pushed a fix for this -- `define-condition-type' was not > producing condition accessor procedures that knew how to unpack > compound conditions. Cool, thanks! > There's a new exception now, which looks related to our not having