> From: Ludovic Courtès
>> Basically to search for c file definitions like this...
>>
>> SCM_DEFINE (cfunc, "gfunc", 1, 0, 0, (SCM arg), "a function");
>>
>> and return header declarations like this
>>
>> SCM cfunc (SCM arg);
>
>There’s no such tool AFAIK, but you can always come up with on
Warning, non-technical ramblings incoming.
In your opinion, how does guile user community compare (in size) with other
free schemes user communities? I am under the impression that guile user base
is somewhat smaller than chicken' or racket', but to what extent? And how
could we roughly figure th
Hello!
Andy Wingo skribis:
> Specifically, there is a warning in gc/gc_mark.h:
>
> /* WARNING: Such a mark procedure may be invoked on an unused object*/
> /* residing on a free list. Such objects are cleared, except for a */
> /* free list link field in the first word. Thu
Hello all,
I don't know how you feel, but for me the BDW garbage collector used in
Guile 2.0 has made my life much easier than it was. You typically don't
have to write SMOB marking functions any more.
However, I just fixed a bug in g-wrap that was a bit surprising to me.
If you do implement a S
Hi Mike!
Mike Gran skribis:
>> From: Ludovic Courtès
>>
>>Hi!
>>
>>Thanks to the advent of high-tech continuous integration, it is now[*]
>>possible to get a QEMU image of the latest GNU operating system
>>(aka. GNU/Hurd), containing the latest Guile 2.0.x, off their respective
>>version-contr
> From: Ludovic Courtès
>
>Hi!
>
>Thanks to the advent of high-tech continuous integration, it is now[*]
>possible to get a QEMU image of the latest GNU operating system
>(aka. GNU/Hurd), containing the latest Guile 2.0.x, off their respective
>version-control systems:
Cool. Is Guile a staticall
() Paul Emsley
() Wed, 23 Nov 2011 12:16:47 +
What is some-function, where some-function works like this:
(some-function "ls")
-> "/bin/ls" (I'd settle for #t")
(some-function "asdfasdf")
-> #f
You can try something like:
(use-modules (srfi srfi-13) (srfi srfi-14))
(define
Hi!
Andy Wingo skribis:
> Yes, because threads that are not created by Guile do not share the
> dynamic state with the threads that made (and set) the fluids, so they
> get #f as the fluid value.
Oh, I see.
> I fixed this by making it possible to create a fluid whose default
> value, in all dy
Hi Mike,
Mike Gran skribis:
> Basically to search for c file definitions like this...
>
> SCM_DEFINE (cfunc, "gfunc", 1, 0, 0, (SCM arg), "a function");
>
> and return header declarations like this
>
> SCM cfunc (SCM arg);
There’s no such tool AFAIK, but you can always come up with one.
Hi-
Is there a script that will scrape SCM_DEFINEs from c files
to make header declarations to put in .h files?
Basically to search for c file definitions like this...
SCM_DEFINE (cfunc, "gfunc", 1, 0, 0, (SCM arg), "a function");
and return header declarations like this
SCM cfunc (SCM ar
Hi!
Thanks to the advent of high-tech continuous integration, it is now[*]
possible to get a QEMU image of the latest GNU operating system
(aka. GNU/Hurd), containing the latest Guile 2.0.x, off their respective
version-control systems:
http://hydra.nixos.org/job/gnu/hurd-master/qemu_image/late
Hi :)
On Wed 23 Nov 2011 15:06, l...@gnu.org (Ludovic Courtès) writes:
> So what was the deal? One thread would see an uninitialized fluid,
> right?
Yes, because threads that are not created by Guile do not share the
dynamic state with the threads that made (and set) the fluids, so they
get #f
On Wed, Nov 23, 2011 at 10:03 PM, wrote:
> -[ Wed, Nov 23, 2011 at 08:28:56PM +0800, Nala Ginrut ]
> > I think there's no such a given function in Guile to do this.
> > But you can make it in a easy way in Guile:
> > (catch 'system-error
> > (lambda () (execlp "asdfasdf"))
> > (lamb
Hello!
Andy Wingo skribis:
> On Mon 21 Nov 2011 14:35, ri...@happyleptic.org writes:
>
>> Here is a minimal example reproducing the problem.
>> Note that it only fails the first time (when scheme.scm is compiled).
>
> Fixed in stable-2.0. Thanks for the report!
So what was the deal? One threa
-[ Wed, Nov 23, 2011 at 08:28:56PM +0800, Nala Ginrut ]
> I think there's no such a given function in Guile to do this.
> But you can make it in a easy way in Guile:
> (catch 'system-error
> (lambda () (execlp "asdfasdf"))
> (lambda (k . e)
> (format #t "oh no~%~")))
>
> PS:
On Mon 21 Nov 2011 14:35, ri...@happyleptic.org writes:
> Here is a minimal example reproducing the problem.
> Note that it only fails the first time (when scheme.scm is compiled).
Fixed in stable-2.0. Thanks for the report!
Andy
--
http://wingolog.org/
On Wed, Nov 23, 2011 at 8:16 PM, Paul Emsley wrote:
> Hi Nala Ginrut,
>
> Thanks for your reply.
>
> I suspect I expressed myself poorly. (execlp "ls" "") replaces guile with
> "ls", which lists my files and returns me to the shell.
>
> What is some-function, where some-function works like this:
>
Well, I'm glad to help. ;-)
And I think any "Segment Fault" must be a bug. So I sent a letter for this
in guile-dev.
On Wed, Nov 23, 2011 at 8:16 PM, Paul Emsley wrote:
> Hi Nala Ginrut,
>
> Thanks for your reply.
>
> I suspect I expressed myself poorly. (execlp "ls" "") replaces guile with
> "ls
Hi Nala Ginrut,
Thanks for your reply.
I suspect I expressed myself poorly. (execlp "ls" "") replaces guile
with "ls", which lists my files and returns me to the shell.
What is some-function, where some-function works like this:
(some-function "ls")
-> "/bin/ls" (I'd settle for #t")
(some-f
19 matches
Mail list logo