Re: What new libraries or functionality does Guile need?

2008-07-21 Thread JonWilson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

It seems that snd has a significant amount of functionality that might
be generally useful.  Would it be possible for the snd team to spend
some time factoring out these things?  I know that snd-c and the GL
bindings have been mentioned here, but I suspect there are other things
as well?
Regards,
Jon

Kjetil S. Matheussen wrote:
> 
> "Jose A. Ortega Ruiz":
>>> Hi-
>>
>>> If you could ask someone to write a library or package a set of
>>> functionality for Guile that it doesn't currently have, what would it
>>> be? (My personal projects are near completion, and I may have some
>>> Saturdays free.)
>>
>> Bindings for OpenGL/GLU/GLUT would be great.
>>
> 
> Snd should have bindings for those:
> http://snd.sf.net
> 
> 
> 

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iEYEARECAAYFAkiEsxUACgkQ3y6HU3bfjw5RMACgqBl5OWUDoNv+l1hjIu+l4+/i
ko8AoIQzV1CDFZY5yKah/O5dU9wpJPeh
=rztq
-END PGP SIGNATURE-




Re: Me no understand scoping

2008-09-11 Thread JonWilson
Hi Andy,

Andy Wingo wrote:

> Do you see now why local-eval can't possibly work in the presence of
> efficient compilation? Scheme does not give you the particular kind of
> dynamism that you want. There is no hash table lurking inside a closure.

Why not compile most closures away, but leave those that are necessary
for the sort of semantics Maciek wants to work?  Maciek more or less
wants to reify environments (it seems), and have those be semantically
the same as the variable lookup mechanism inside closures.

It is certainly true that most continuations are not reified, many are
compiled away, but it is still possible to reify exactly the ones that
are needed and no others.  Is it impossible for program analysis to
reveal which environments need to be reified?  If necessary, one could
even require some sort of explicit tag on lambdas to say "This one gets
reified."

Of course, #scheme is probably a good place to discuss this sort of
thing, but I can't really hold my own once a really technical discussion
gets started there...  Whether that's because I lack the expertise
(likely) or because certain personalities are perhaps overly dominating
(also likely), I don't know.

Regards,
Jon




phase separation -- was Re: set-pair!

2008-09-11 Thread JonWilson
Hi Clinton,

Clinton Ebadi wrote:
> runtime modification of
> lexical environments is incompatible with a properly phase-separated
> compiler).

I hear a lot of mention of phase separation, usually as something
desirable.  However, I've never seen a thorough explanation of why phase
separation is particularly good thing.  (Nor a thorough explanation of
exactly what it is, and google hasn't turned up anything useful so far.)
 Would you mind giving me some pointers to reading material (or, if
you've got nothing which is actually important to do, writing up an
explanation yourself)?
Regards,
Jon




Re: X11 bindings and shell bindings

2008-09-18 Thread JonWilson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Oh right.  My apologies for not answering the question you asked...

Ishan Arora wrote:
> Hi,
> 
> Thanks for the reply. I tried system. It calls the code synchronously, and
> returns a number for success or failure of the command. Is there a way such
> that the stdout output of the command is returned as a string? Thanks again.
> 
> Regards,
> Ishan
> 
> On Thu, Sep 18, 2008 at 7:22 PM, Jon Wilson <[EMAIL PROTECTED]> wrote:
> 
>> Hi Ishan,
>>  * There are guile bindings for gtk and for gnome; I don't know of any
>> other X11 bindings.
>>
>>  * Try (system "ls -l").  Look it up in the POSIX section in the manual.
>> Regards,
>> Jon
>>
>>
>> Ishan Arora wrote:
>>
>>> Hi,
>>>
>>> Is there a procedure to get mouse position. And is there a procedure to
>>> synchronously run a shell code and return the output as a String. Thanks.
>>>
>>> Regards,
>>> Ishan
>>>
>>
> 

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iEYEARECAAYFAkjSiYAACgkQ3y6HU3bfjw78iACfXofmVnRI0XqL09z01iiXARDy
R+sAn34o4jOWobSeRHL0szNhoYm7g7Kp
=TdCJ
-END PGP SIGNATURE-