Dorai Sitaram | 1 Jun 18:25 2003

fluid-let, pretty-print for Gauche

Hello.

Alex Shinn had me looking at Gauche, and it's 
very neat.

I did miss having a fluid-let and a pretty-printer.  I
know one can get them via slib or elsewhere, 
but that's another download and another install. 

I have placed suggested module files fluidlet.scm
and pretty.scm (the names may need changing) in
http://www.ccs.neu.edu/~dorai/tmp/gauche/suggmod.html
If interested, please use them.

The fluid-let is the usual one based on dynamic-wind,
and the pretty-print is Marc Feeley's
restriction-free code adapted for Gauche.  I
think pretty.scm can go in Gauche's text/ hierarchy,
but fluid-let should probably be preloaded, as
practical code has great use for it. 

--d

-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
Shiro Kawai | 2 Jun 04:55 2003
Picon

Re: fluid-let, pretty-print for Gauche

Thank you.  I just downloaded the newest scmxlate and tex2page
and tride them.  Worked out of the box.  Great.

I haven't added fluid-let to Gauche since it doesn't look very
frienly to multithreaded programs.  Gauche provides
parameter objects (draft srfi-39) with the same semantics as
MzScheme, and that's the preferred way.
However, it is convenient anyway, so I'll add it, probably
as an autoloaded macro.

For Pretty-print, I need to think how user-defined objects
should be handled.  I can start from the code you provided.

--shiro

-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
Dorai Sitaram | 2 Jun 16:56 2003

Re: fluid-let, pretty-print for Gauche

[Shiro wrote]
> Thank you.  I just downloaded the newest scmxlate and tex2page
> and tride them.  Worked out of the box.  Great.

Glad to hear that.  I am in the process of adding some
basic internationalization hooks to tex2page (for
section headers, timestamp, and \today).  Full
Japanese output should become possible soon.   

> I haven't added fluid-let to Gauche since it doesn't look very
> frienly to multithreaded programs.  Gauche provides
> parameter objects (draft srfi-39) with the same semantics as
> MzScheme, and that's the preferred way.
> However, it is convenient anyway, so I'll add it, probably
> as an autoloaded macro.

Hm, MzScheme seems to include fluid-let (and
fluid-let-syntax too, though I doubt it is as
practically useful).  But it's quite likely it
was provided as a convenience only, and may not be
strictly correct.  

--d

-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
MAKOTO SATOH | 5 Jun 07:00 2003
Picon

0.7_pre3 -> 0.7

Hi,

I updated my Gauche source tree from CVS and built it.
Before building it, 'gosh -V' said 'version 0.7_pre3'.
After building it, 'gosh -V' now says 'version 0.7'.

I have Gauche's library in /usr/local/share/gauche and
there are some directories for each version, including
0.7_pre3 and 0.7.

When I start gosh, *load-path* is 
("/usr/local/share/gauche/site/lib" 
"/usr/local/share/gauche/0.7_pre3/lib"),
instead of including "/usr/local/share/gauche/0.7/lib.

How could I specify the library path correctly or was 
there something to specify when I built Gauche?

--
Makoto Satoh
__________________________________________________
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!
http://bb.yahoo.co.jp/

-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
(Continue reading)

MAKOTO SATOH | 5 Jun 07:03 2003
Picon

Gauche 0.7_pre3 -> 0.7 (from CVS)

Hi,

I updated my Gauche source tree from CVS and built it.
Before building it, 'gosh -V' said 'version 0.7_pre3'.
After building it, 'gosh -V' now says 'version 0.7'.

I have Gauche's library in /usr/local/share/gauche and
there are some directories for each version, including
0.7_pre3 and 0.7.

When I start gosh, *load-path* is 
("/usr/local/share/gauche/site/lib" 
"/usr/local/share/gauche/0.7_pre3/lib"),
instead of including "/usr/local/share/gauche/0.7/lib.

How could I specify the library path correctly or was 
there something to specify when I built Gauche?

--
Makoto Satoh
__________________________________________________
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!
http://bb.yahoo.co.jp/

-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
(Continue reading)

Shigenobu Kimura | 5 Jun 07:16 2003
Picon

Re: Gauche 0.7_pre3 -> 0.7 (from CVS)

You need to rerun ./configure.  I think.
-- skimu

On 2003.Jun.5, at 00:03 US/Central, MAKOTO SATOH wrote:

> Hi,
>
> I updated my Gauche source tree from CVS and built it.
> Before building it, 'gosh -V' said 'version 0.7_pre3'.
> After building it, 'gosh -V' now says 'version 0.7'.
>
> I have Gauche's library in /usr/local/share/gauche and
> there are some directories for each version, including
> 0.7_pre3 and 0.7.
>
> When I start gosh, *load-path* is
> ("/usr/local/share/gauche/site/lib"
> "/usr/local/share/gauche/0.7_pre3/lib"),
> instead of including "/usr/local/share/gauche/0.7/lib.
>
> How could I specify the library path correctly or was
> there something to specify when I built Gauche?
>
> --
> Makoto Satoh
> __________________________________________________
> Do You Yahoo!?
> Yahoo! BB is Broadband by Yahoo!
> http://bb.yahoo.co.jp/
>
(Continue reading)

Shiro Kawai | 5 Jun 07:58 2003
Picon

Re: Gauche 0.7_pre3 -> 0.7 (from CVS)

Did you run "./DIST gen" before configure?

--shiro

From: MAKOTO SATOH <makotosato2 <at> yahoo.co.jp>
Subject: [Gauche-devel] Gauche 0.7_pre3 -> 0.7 (from CVS)
Date: Thu, 05 Jun 2003 14:03:05 +0900

> Hi,
> 
> I updated my Gauche source tree from CVS and built it.
> Before building it, 'gosh -V' said 'version 0.7_pre3'.
> After building it, 'gosh -V' now says 'version 0.7'.
> 
> I have Gauche's library in /usr/local/share/gauche and
> there are some directories for each version, including
> 0.7_pre3 and 0.7.
> 
> When I start gosh, *load-path* is 
> ("/usr/local/share/gauche/site/lib" 
> "/usr/local/share/gauche/0.7_pre3/lib"),
> instead of including "/usr/local/share/gauche/0.7/lib.
> 
> How could I specify the library path correctly or was 
> there something to specify when I built Gauche?
> 
> --
> Makoto Satoh
> __________________________________________________
> Do You Yahoo!?
(Continue reading)

MAKOTO SATOH | 5 Jun 08:06 2003
Picon

Re: Gauche 0.7_pre3 -> 0.7 (from CVS)

Shiro Kawai <shiro <at> lava.net> wrote:

> Did you run "./DIST gen" before configure?

Yes.

After Mr. Kimura's response, I deleted configure and did 
"./DIST gen" and "./configure --enable-threads=pthreads".

Now I'm watching the output of make. (very long time...)

After all, I'll post whether success or fail. Thanks.

__________________________________________________
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!
http://bb.yahoo.co.jp/

-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
MAKOTO SATOH | 5 Jun 08:41 2003
Picon

Re: Gauche 0.7_pre3 -> 0.7 (from CVS)

Disturbed, it was done.

MAKOTO SATOH <makotosato2 <at> yahoo.co.jp> wrote:

> Shiro Kawai <shiro <at> lava.net> wrote:
> 
> > Did you run "./DIST gen" before configure?
> 
> Yes.
> 
> After Mr. Kimura's response, I deleted configure and did 
> "./DIST gen" and "./configure --enable-threads=pthreads".
> 
> Now I'm watching the output of make. (very long time...)
> 
> After all, I'll post whether success or fail. Thanks.

I'm not sure what was wrong...

Now I can also load sxml.ssax and seems to be OK.

Thanks.

__________________________________________________
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!
http://bb.yahoo.co.jp/

-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
(Continue reading)

Alex Shinn | 5 Jun 09:06 2003

slibcat not built on install

The following used to be in lib/Makefile.in

slibcat : 
	if test -f $(SLIB_DIR)/require.scm; then \
	  $(exec_prefix)/bin/gosh -uslib -e "(load (in-vicinity (library-vicinity) \"mklibcat\"))" -e
"(exit 0)";\
	fi

Running the command by hand works fine.

--

-- 
Alex

-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.

Gmane