Re: [Chicken-users] Strange problems with args egg

2013-08-03 Thread John Cowan
Jonathan Chan scripsit: > Here is the smallest amount of args-using Chicken that will cause the > problem: > > (define-syntax test > (syntax-rules () > ((test) > (begin >(define opts (list (args:make-option (h help) #:none "display >this text" (print "foo" >

Re: [Chicken-users] Strange problems with args egg

2013-08-03 Thread Jim Ursetto
This patch to the args egg should fix things -- could you try it? Jim Index: args.scm === --- args.scm(revision 29488) +++ args.scm(working copy) @@ -268,7 +268,7 @@ ) (let* ((srfi37-names (map (lambda (name)

Re: [Chicken-users] Multiple concurrent top levels?

2013-08-03 Thread John Cowan
Dan Leslie scripsit: > Oh, how much control over the GC does Chibi grant you? If we confine ourselves to the presently documented API, there are only two calls: one to increment the reference count of an object and one to decrement it. An object with a non-zero reference count will never be recl

[Chicken-users] Strange problems with args egg

2013-08-03 Thread Jonathan Chan
Hello all, First off, I am very new to Chicken. I recently tried using the args egg and wrote a syntax-rules macro to let me clarify a bunch of copy-paste declarations, but seem to be running into some strange problem where numbers are appended to the names of certain symbols. Here is the smalles