* guile-lib update
@ 2004-07-25 18:26 Andy Wingo
2004-08-04 4:14 ` building guile-lib snapshot? Steve Tell
0 siblings, 1 reply; 3+ messages in thread
From: Andy Wingo @ 2004-07-25 18:26 UTC (permalink / raw)
Cc: Guile Users, Neil W. Van Dyke
Howdy coders,
As per our discussion earlier about module hierarchies, I hammered a bit
on my branch of guile-lib. The newest docs can be seen at
http://ambient.2y.net/wingo/software/guile-lib/, but here's a list of
modules and recent changes:
Modules I wrote:
(container nodal-tree)
(container delay-tree)
Tree structures. The second is the same as the first, but properties
of a node can be promises made by `delay'.
I'm not sure if these are worthwhile. I did, however, need a common
base for defining the format made by (texinfo nodal-tree).
(debugging time)
Simple macro.
(scheme documentation)
define-docs, define-class-with-docs, etc. Lightweight.
(texinfo)
(texinfo html)
(texinfo indexing)
(texinfo nodal-tree)
(texinfo plain-text)
(texinfo reflection)
The first is a texinfo->sxml parser. The second outputs the "stexinfo"
to HTML. The third generates an index for an stexinfo document, and
the fourth chunks an stexinfo document into pieces. The fifth renders
stexinfo to plain text, like info does, and the sixth generates
stexinfo docs for generic scheme objects and modules (as described in
the literate programming article).
I might keep some common code in (texinfo), and move the parser to
(texinfo parse). Then (texinfo serialize) would write out texinfo, so
that TeX can handle print output, or (god forbid) info output.
(sxml simple)
Convenience routines for parsing and serializing XML.
Modules I packaged:
(htmlprag) http://neilvandyke.org/htmlprag/
Man, I went round and round with this one. First I had it as
(sxml pragmatic), then (sxml htmlprag), but really, since it's its own
package, it needs to be at toplevel. But the author was smart enough
to know this, and already packaged it up for guile as (htmlprag).
Should I then remove it from guile-lib, since they have the same name?
Or should I keep it here, because presumably distribution of guile-lib
is larger than distribution of the guile version of htmlprag?
(sxml ssax) "http://ssax.sourceforge.net/"
(sxml xpath) "http://ssax.sourceforge.net/"
(sxml transform) "http://ssax.sourceforge.net/"
(sxml apply-templates) "http://ssax.sourceforge.net/"
(sxml ssax input-parse)
I asked Oleg about this, and he said this sounded sane. I changed to
not modify the upstream files, rather loading them up at runtime.
The SSAX module is up-to-date (v5.1), but the others need help.
The only interesting thing there is that I renamed the input-parse
module from what I had, which was (text lex-simple). Better to keep
the coherence of the package.
(debugging assert)
(io string)
These are also from Oleg, but they seemed small and of general use,
so I split them out taxonomically. Comments?
(statprof)
Back from the dead! I used to call this (debugging statprof), but
of course that's too taxonomic. I hacked on this a bit, so it's
newer than the version languishing in guile CVS. Sound OK, Rob?
(scheme session)
Hacks to (ice-9 session) to allow other programs to handle a (help)
invocation. Used by (texinfo reflection); see the literate programming
article for details. Would be nice if this made it up to guile.
Any comments on this layout would be greatly appreciated. Especially
interesting would be the take on slib-like code such as (debugging
assert), as well as the presence of htmlprag in the library.
Cheers,
--
Andy Wingo <wingo@pobox.com>
http://ambient.2y.net/wingo/
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
^ permalink raw reply [flat|nested] 3+ messages in thread
* building guile-lib snapshot?
2004-07-25 18:26 guile-lib update Andy Wingo
@ 2004-08-04 4:14 ` Steve Tell
2004-08-04 13:03 ` Andreas Rottmann
0 siblings, 1 reply; 3+ messages in thread
From: Steve Tell @ 2004-08-04 4:14 UTC (permalink / raw)
Cc: guile-lib-dev
I downloaded
http://download.gna.org/guile-lib/daily/guile-lib-20040625.tar.gz
but how am I _supposed_ to build it?
I tried this not-quite-obvious sequence:
$ tar xzf ../download/guile/guile-lib-20040625.tar.gz
$ cd guile-lib-20040625/
$ mkdir build
$ cd build
$ srcdir=../src/guile-lib ../src/configure
ERROR: no distribution name file found
(/home/tell/build/guile-lib-20040625/src/../=RELEASE-ID).
I got somthing to configure, build, and install by copying the
=RELEASE-ID file from
http://download.gna.org/guile-lib/guile-lib-0.1.1.tar.gz
but that can't possibly be right...
Looks like somthings a bit amiss in the snapshots.
Related to the build process, can I insert a plea for a short Readme? This
would be especialy helpful given the alien build process (alien being
defined these days as anything but standard-autoconf
"./configure;make;make install").
And BTW, what's this about configure not wanting to run in the source
tree? Why do I care what happens to the source tree? I'm going to delete
it 30 seconds after doing the install anyway.
Guile-lib looks like some useful bits; thanks everyone.
But for now I'm just trying to run g-wrap - but that's another story.
Steve
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: building guile-lib snapshot?
2004-08-04 4:14 ` building guile-lib snapshot? Steve Tell
@ 2004-08-04 13:03 ` Andreas Rottmann
0 siblings, 0 replies; 3+ messages in thread
From: Andreas Rottmann @ 2004-08-04 13:03 UTC (permalink / raw)
Cc: Guile Users, guile-lib-dev
Steve Tell <tell@telltronics.org> writes:
> I downloaded
> http://download.gna.org/guile-lib/daily/guile-lib-20040625.tar.gz
>
> but how am I _supposed_ to build it?
>
[...]
> Looks like somthings a bit amiss in the snapshots.
>
Indeed, this snapshot is missing the =RELEASE-ID file. I've just
uploaded a brand-new snapshot which should work out of the BOX.
> Related to the build process, can I insert a plea for a short Readme? This
> would be especialy helpful given the alien build process (alien being
> defined these days as anything but standard-autoconf
> "./configure;make;make install").
>
Yeah, a README is definitly a good idea. I'll add one before the next
official release.
> And BTW, what's this about configure not wanting to run in the source
> tree? Why do I care what happens to the source tree? I'm going to delete
> it 30 seconds after doing the install anyway.
>
That's an artefact of the build-system used. It's true that an
end-user wouldn't care about the source tree, but developers do; so
the author of package-framework (the build-system) has decided not to
allow configuring in-tree.
Cheers, Andy
--
Andreas Rottmann | Rotty@ICQ | 118634484@ICQ | a.rottmann@gmx.at
http://yi.org/rotty | GnuPG Key: http://yi.org/rotty/gpg.asc
Fingerprint | DFB4 4EB4 78A4 5EEE 6219 F228 F92F CFC5 01FD 5B62
Say NO to Software Patents! -- http://petition.eurolinux.org/
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-08-04 13:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-25 18:26 guile-lib update Andy Wingo
2004-08-04 4:14 ` building guile-lib snapshot? Steve Tell
2004-08-04 13:03 ` Andreas Rottmann
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).