Re: guile-2.0 on mingw: the sequel

2013-08-25 Thread Mark H Weaver
I wrote: > I can think of one notable case where the program would know where > libguile is located: when the program bundles its own copy of Guile, and > therefore assumes that libguile and the program are always moved > together as an atomic unit. > > This practice is frowned upon on most POSIX

Re: guile-2.0 on mingw: the sequel

2013-08-25 Thread Mark H Weaver
Eli Zaretskii writes: >> Date: Sun, 25 Aug 2013 19:24:17 -0400 >> From: >> Cc: guile-user@gnu.org >> >> On windows, I think you call GetModuleFileName() with the handle that was >> passed to DllMain(). >> Is it possible for libguile to do that? > > I see no reasons why not. Yes, that much we

Re: guile-2.0 on mingw: the sequel

2013-08-25 Thread Eli Zaretskii
> Date: Sun, 25 Aug 2013 19:24:17 -0400 > From: > Cc: guile-user@gnu.org > > On windows, I think you call GetModuleFileName() with the handle that was > passed to DllMain(). > Is it possible for libguile to do that? I see no reasons why not. > Seems like most windows apps install everything i

Re: guile-2.0 on mingw: the sequel

2013-08-25 Thread Eli Zaretskii
> From: Mark H Weaver > Cc: godek.mac...@gmail.com, guile-user@gnu.org > Date: Sun, 25 Aug 2013 17:42:27 -0400 > > Eli Zaretskii writes: > > >> From: Mark H Weaver > >> Cc: godek.mac...@gmail.com, guile-user@gnu.org > >> Date: Sun, 25 Aug 2013 15:56:53 -0400 > >> > >> Remember that Guile is

Re: guile-2.0 on mingw: the sequel

2013-08-25 Thread Eli Zaretskii
> From: l...@gnu.org (Ludovic Courtès) > Date: Sun, 25 Aug 2013 20:59:03 +0200 > > > Why should this feature be limited to Windows builds of Guile? Why > > not make it work for Posix platforms as well? Some other projects > > already do, they use argv[0] and PATH search to find the place where >

Re: guile-2.0 on mingw: the sequel

2013-08-25 Thread dsmich
Mark H Weaver wrote: > Eli Zaretskii writes: > > >> From: Mark H Weaver > >> Cc: godek.mac...@gmail.com, guile-user@gnu.org > >> Date: Sun, 25 Aug 2013 15:56:53 -0400 > >> > >> Remember that Guile is a library, not just an executable. So argv[0] > >> could point to any arbitrary execu

Re: guile-2.0 on mingw: the sequel

2013-08-25 Thread Mark H Weaver
Eli Zaretskii writes: >> From: Mark H Weaver >> Cc: godek.mac...@gmail.com, guile-user@gnu.org >> Date: Sun, 25 Aug 2013 15:56:53 -0400 >> >> Remember that Guile is a library, not just an executable. So argv[0] >> could point to any arbitrary executable that's linked with libguile. > > We can

grep and sed in guile

2013-08-25 Thread Stefan Israelsson Tampe
Hi all, This small discussion refers to the current head of the guile-log branch. When the parser framework is rich enough I will issue a new release of it. As you know I'm currently working with guile-log to attach decent parser tools in for anyone wanting to do parsing in a logic programming e

Re: guile-2.0 on mingw: the sequel

2013-08-25 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: > Eli Zaretskii skribis: > >>> From: Mark H Weaver >>> Cc: Eli Zaretskii , "guile-user\@gnu.org" >>> >>> Date: Fri, 23 Aug 2013 11:13:19 -0400 >>> >>> Of course, ideally we would allow the entire Guile install to be freely >>> relocatable, as Windows us

Re: guile-2.0 on mingw: the sequel

2013-08-25 Thread Ludovic Courtès
Hi Eli, Eli Zaretskii skribis: >> From: Mark H Weaver >> Cc: Panicz Maciej Godek , guile-user@gnu.org >> Date: Sun, 25 Aug 2013 12:59:43 -0400 >> >> Eli Zaretskii writes: >> >> > I guess you didn't configure without threads on GNU/Linux, did you? >> > If not, I suggest to try that, my impre

Re: guile-2.0 on mingw: the sequel

2013-08-25 Thread Ludovic Courtès
Eli Zaretskii skribis: >> From: Mark H Weaver >> Cc: Eli Zaretskii , "guile-user\@gnu.org" >> Date: Fri, 23 Aug 2013 11:13:19 -0400 >> >> Of course, ideally we would allow the entire Guile install to be freely >> relocatable, as Windows users have come to expect. This would require >> some h

Re: guile-2.0 on mingw: the sequel

2013-08-25 Thread Eli Zaretskii
> Date: Sun, 25 Aug 2013 23:33:51 +0300 > From: Eli Zaretskii > Cc: guile-user@gnu.org > > > From: Mark H Weaver > > Cc: godek.mac...@gmail.com, guile-user@gnu.org > > Date: Sun, 25 Aug 2013 15:56:53 -0400 > > > > Remember that Guile is a library, not just an executable. So argv[0] > > could

Re: guile-2.0 on mingw: the sequel

2013-08-25 Thread Eli Zaretskii
> From: Mark H Weaver > Cc: godek.mac...@gmail.com, guile-user@gnu.org > Date: Sun, 25 Aug 2013 15:56:53 -0400 > > Remember that Guile is a library, not just an executable. So argv[0] > could point to any arbitrary executable that's linked with libguile. We can provide an API for passing to th

Re: guile-2.0 on mingw: the sequel

2013-08-25 Thread Eli Zaretskii
> From: Mark H Weaver > Cc: godek.mac...@gmail.com, guile-user@gnu.org > Date: Sun, 25 Aug 2013 15:50:34 -0400 > > Well, that's not generally how things are done on POSIX systems As I said, some GNU projects already do that. GCC and GDB are two examples. > furthermore I don't see how this cou

Re: Are `eqv?' and `eq?' the same?

2013-08-25 Thread Ian Price
Alexandru Cojocaru writes: >     `eq?' tests just for the same object (essentially a pointer > comparison) >     `eqv?' extends `eq?' to look at the value of numbers and > characters. > > this is what I get: > >     scheme@(guile-user)> (eq? 3 (+ 1 2)) >     $1 = #t > > is this behavior intention

Re: guile-2.0 on mingw: the sequel

2013-08-25 Thread Mark H Weaver
Mark H Weaver writes: > Eli Zaretskii writes: > >>> From: Mark H Weaver >>> Cc: Eli Zaretskii , "guile-user\@gnu.org" >>> >>> Date: Fri, 23 Aug 2013 11:13:19 -0400 >>> >>> Of course, ideally we would allow the entire Guile install to be freely >>> relocatable, as Windows users have come to

Re: guile-2.0 on mingw: the sequel

2013-08-25 Thread Mark H Weaver
Eli Zaretskii writes: >> From: Mark H Weaver >> Cc: Eli Zaretskii , "guile-user\@gnu.org" >> Date: Fri, 23 Aug 2013 11:13:19 -0400 >> >> Of course, ideally we would allow the entire Guile install to be freely >> relocatable, as Windows users have come to expect. This would require >> some he

Re: guile-2.0 on mingw: the sequel

2013-08-25 Thread Mark H Weaver
Eli Zaretskii writes: >> From: Mark H Weaver >> Cc: Panicz Maciej Godek , guile-user@gnu.org >> Date: Sun, 25 Aug 2013 12:59:43 -0400 >> >> Eli Zaretskii writes: >> >> > I guess you didn't configure without threads on GNU/Linux, did you? >> > If not, I suggest to try that, my impression is t

Re: [ANN] Guile-WM 0.1/Guile XCB 1.1

2013-08-25 Thread Mark H Weaver
m...@markwitmer.com writes: > Mark H Weaver writes: > >> Here's what happens on my Debian wheezy system, starting from a pristine >> git checkout (using "git clean -dxf"): >> ... >> ice-9/boot-9.scm:106:20: In procedure #> ice-9/boot-9.scm:97:6 (thrown-k . args)>: >> ice-9/boot-9.scm:106:20: no c

Re: [ANN] Guile-WM 0.1/Guile XCB 1.1

2013-08-25 Thread mark
Mark H Weaver writes: > Here's what happens on my Debian wheezy system, starting from a pristine > git checkout (using "git clean -dxf"): > ... > ice-9/boot-9.scm:106:20: In procedure # ice-9/boot-9.scm:97:6 (thrown-k . args)>: > ice-9/boot-9.scm:106:20: no code for module (xcb xml) > make: *** [

Re: [ANN] Guile-WM 0.1/Guile XCB 1.1

2013-08-25 Thread Mark H Weaver
mark.d.wit...@gmail.com writes: > Mark H Weaver writes: > >> * Although the README says that Guile 2.0.9 is required, the configure >> script will accept nothing less than Guile 2.2. Since 2.2 does not >> exist yet, it would be good to accept Guile 2.0 in the meantime :) > > Yes, that's a mi

Re: guile-2.0 on mingw: the sequel

2013-08-25 Thread Eli Zaretskii
> From: Mark H Weaver > Cc: Panicz Maciej Godek , guile-user@gnu.org > Date: Sun, 25 Aug 2013 12:59:43 -0400 > > Eli Zaretskii writes: > > > I guess you didn't configure without threads on GNU/Linux, did you? > > If not, I suggest to try that, my impression is that Guile without > > threads is

Re: guile-2.0 on mingw: the sequel

2013-08-25 Thread Mark H Weaver
Eli Zaretskii writes: > I guess you didn't configure without threads on GNU/Linux, did you? > If not, I suggest to try that, my impression is that Guile without > threads is not used too much on Posix platforms. Hydra, a continuous integration system, runs Guile's "make check" with threads disab

Re: guile-2.0 on mingw: the sequel

2013-08-25 Thread Eli Zaretskii
> Date: Sat, 24 Aug 2013 10:05:13 +0200 > From: Panicz Maciej Godek > Cc: "guile-user@gnu.org" > > 2013/8/24 Eli Zaretskii > > > > yes, it seems that this was the reason. So now the guile > > > interpreter runs properly, but I still have a problem with > > > running a program that, having been

Re: Are `eqv?' and `eq?' the same?

2013-08-25 Thread Pascal J. Bourguignon
Alexandru Cojocaru writes: > Hi, > > from the GUILE manual [0]: > >     `eq?' tests just for the same object (essentially a pointer > comparison) >     `eqv?' extends `eq?' to look at the value of numbers and > characters. > > this is what I get: > >     scheme@(guile-user)> (eq? 3 (+ 1 2)) >    

Re: [ANN] Guile-WM 0.1/Guile XCB 1.1

2013-08-25 Thread dsmich
Klaus Schilling wrote: > From: Matt Wette > Subject: Re: [ANN] Guile-WM 0.1/Guile XCB 1.1 > Date: Sat, 24 Aug 2013 16:40:18 -0700 > > > FYI, there is also "sawfish" : http://sawfish.wikia.com/wiki/Main_Page > > > > I used sawfish (aka sawmill?) many years ago > > > > On Aug 24, 2013, a

Re: Are `eqv?' and `eq?' the same?

2013-08-25 Thread Noah Lavine
Hello, eq? and eqv? are sort of a funny pair. eqv? actually has sensible semantics - if two things are eqv?, then a normal scheme program should never notice the difference between them (they are operationally equivalent). eq? is defined not in terms of Scheme, but in terms of Scheme's implementat

Are `eqv?' and `eq?' the same?

2013-08-25 Thread Alexandru Cojocaru
|Hi, from the GUILE manual [0]:| || `eq?|' tests just for the same object (essentially a pointer comparison) `eqv?'| extends |`eq?'| to look at the value of numbers and characters. this is what I get: scheme@(guile-user)> (eq? 3 (+ 1 2)) $1 = #t is this behavior intentional o