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

2010-06-20 Thread Andy Wingo
Hello, On Sat 19 Jun 2010 20:16, Marco Maggi writes: > compilation with both packages fails with multiple errors like: > > ;;; key wrong-type-arg, throw_args ("dirname" "Wrong type argument in > position ~A (expecting ~A): ~S" (1 "string" #f) (#f)) This is an interesting error I just got too.

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

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

2010-06-18 Thread Marco Maggi
"Andy Wingo" wrote: >> $ make gtest >> GUILE_LOAD_PATH=. guile -l guile-config.scm --autocompile -s >> ./tests/test-makers.sps > > I see you have changed the code to add --autocompile. Has > anything else changed? No, I am only tweaking the makefile and the guile setup script. >> ~/src/devel/sc

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

2010-06-18 Thread Julian Graham
Hello again, > I haven't been following this thread as closely as I should, but FWIW, > that's the result of a call to R6RS's `raise' (or `raise-continuable') > -- Guile's default throw handler doesn't know how to unpack it.  For > debugging, you might try installing an R6RS exception handler at

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

2010-06-18 Thread Julian Graham
Hello! >> ;;; compiling ./makers//makers.sls >> ;;; compiling ./makers//helpers.sls >> ;;; compiled >> /home/marco/.cache/guile/ccache/2.0-0.R-LE-4/home/marco/src/devel/scheme/makers/makers/helpers.sls.go >> ;;; compiled >> /home/marco/.cache/guile/ccache/2.0-0.R-LE-4/home/marco/src/devel/schem

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

2010-06-18 Thread Andy Wingo
Hello, On Thu 17 Jun 2010 09:40, Marco Maggi writes: > "Andy Wingo" wrote: >> ERROR: In procedure string-ref: >> ERROR: Wrong type argument in position 1 (expecting string): # > > With commit a4082ab57e81c1826906c1a8601593e8dea5078c I get, > running twice "make gtest" after cleaning the cache

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

2010-06-17 Thread Marco Maggi
"Andy Wingo" wrote: > Interesting test. So, with current git it does run, but > fails with: > > ERROR: In procedure string-ref: > ERROR: Wrong type argument in position 1 (expecting string): # With commit a4082ab57e81c1826906c1a8601593e8dea5078c I get, running twice "make gtest" after cleanin

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

2010-06-16 Thread Andy Wingo
On Tue 08 Jun 2010 10:15, Marco Maggi writes: > How would you change: > > > > to make it work with Guile? Notice that the Makefile has a > "gtest" rule to run Guile on the test file. Interesting test. So, with current git it

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

2010-06-08 Thread Marco Maggi
"Julian Graham" wrote: >> ERROR: In procedure macroexpand: >> ERROR: source expression failed to match any pattern in (import (rnrs) (lib)) >> >> is it actually possible to load libraries? > > Andreas Rottman just submitted a patch that (I think) > resolves this issue [0]. Mh, applied it, now

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

2010-06-08 Thread Julian Graham
Hi Marco, > ERROR: In procedure macroexpand: > ERROR: source expression failed to match any pattern in (import (rnrs) (lib)) > > is it actually possible to load libraries? Andreas Rottman just submitted a patch that (I think) resolves this issue [0]. Regards, Julian [0] - http://permalink.gma

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

2010-06-08 Thread Marco Maggi
> How would you change: > > > > to make it work with Guile? I test program has the following as incipit: #!r6rs (import (rnrs) (rnrs eval) (makers makers)) and I get this: ERROR: In procedure macroexpand: ERROR: source ex

[r6rs] quest to make the makers package work

2010-06-08 Thread Marco Maggi
How would you change: to make it work with Guile? Notice that the Makefile has a "gtest" rule to run Guile on the test file. TIA -- Marco Maggi