unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Re: some possible bugs and getting procedure on the top of the stack
       [not found] ` <87k2kygpdd.fsf@gnu.org>
@ 2016-03-20 14:40   ` Alex Vong
  0 siblings, 0 replies; only message in thread
From: Alex Vong @ 2016-03-20 14:40 UTC (permalink / raw
  To: Ludovic Courtès; +Cc: guile-user

ludo@gnu.org (Ludovic Courtès) writes:

> Hello!
>
> Did you mean to email guile-user@gnu.org?
>
Yes!

> Alex Vong <alexvong1995@gmail.com> skribis:
>
>> When trying to write some C binding to flex using libguile-2.0, I notice 
>
> FWIW, I’d suggest using something like Danny Dubé’s SILex instead of
> writing bindings to Flex.
>
Where should I get SILex? The version used by Chicken Scheme seems to be
written on 1997, which is quite old, while the author's homepage is gone.

>> Besides, when reading
>> <https://libreplanet.org/wiki/Group:Guix/GSoC-2016>,
>> I notice librejs flags the scipts as non-free, such as,
>> <https://libreplanet.org/w/load.php?debug=false&lang=en&modules=startup&only=scripts&skin=vector&*>.
>> Is this a known issue?
>
> No, probably worth reporting the the web site admins?
>
I emailed libreplanet-dev@libreplanet.org about the issue.

>> Finally, how should I get the running procedure?
>> Currently, I am using the following code:
>>
>> (define my-proc-name
>>   (lambda _
>>     (frame-procedure (stack-ref (make-stack #t) 1))))
>>
>> (my-proc-name)
>> ==> #<procedure my-proc-name _>
>>
>> Is there better way to achieve this? Can continuation be used to
>> implement this? My guess is no, since you can only get "the next thing
>> to do" but not "the current thing you are doing". Am I right?
>
> Right.  However, note that the above may not always work especially on
> Guile 2.1/2.2.
>
OK.

>> Off-topic
>> =========
>> Also, I think I am interested in being a GSOC student. The project ideas
>> look tough though! Also, I need a new laptop, the '9' and '0' key
>> sometimes doesn't work. I guess it is because I am typing too much '('
>> and ')'.
>
> :-)
>
> Ludo’.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-03-20 14:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <87wpoyieu2.fsf@gmail.com>
     [not found] ` <87k2kygpdd.fsf@gnu.org>
2016-03-20 14:40   ` some possible bugs and getting procedure on the top of the stack Alex Vong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).