Re: make-module question.

2010-08-18 Thread Ian Hulin
Hi Ludo, On 18/08/10 15:03, Ludovic � wrote: > Hi! > > Ian Hulin writes: > >> (make-module) doesn't seem to appear in the documentation, Is it >> supported, discouraged or deprecated? > > It is undocumented but safe to use. > >> Is there a supported scm_make_module we can use in the Guile AP

Re: Data Dictionary and Configuration Files with Guile Scheme

2010-08-18 Thread Thien-Thi Nguyen
() Romel Sandoval () Thu, 05 Aug 2010 12:15:44 -0500 What do you think? I use Guile-PG (several modules) and a homegrown metainfo table accessible via ‘(ttn-do zzz various-db) personal-pgtable-defs’ et al: http://www.gnuvola.org/software/ttn-do/ttn-do.html.gz#zzz-various_002ddb Here is ~/.pg

Re: Data Dictionary and Configuration Files with Guile Scheme

2010-08-18 Thread Romel Sandoval
El mié, 18-08-2010 a las 09:05 -0700, Andy Wingo escribió: > On Thu 05 Aug 2010 10:15, Romel Sandoval writes: > > > I'm trying to create a data dictionary [1] to generate code from it. > [...] > > This way I can write s-exp as in the example *projects-table* an after a > > load I will have the da

Re: Plotting in Guile

2010-08-18 Thread Joel James Adamson
Andy Wingo writes: > Hi Joel, > > On Wed 28 Jul 2010 08:21, Joel James Adamson writes: > >> I am using Guile to iterate equations and produce trajectories from >> those iterations. My current strategy is to redirect the stdout to a >> file and then use GNUPLOT to plot the trajectories as parame

Re: Latest guile 1.9 segfault in GC

2010-08-18 Thread Andy Wingo
Hi Cedric, On Tue 17 Aug 2010 07:08, Cedric Cellier writes: > As a side note, I find libguile 1.9 slower than libguile 1.8.7. > I suppose, being an unstable version, it's compiled by default > with many debug options on. Is there an easy way to configure it > for fast execution, for benchmarking

Re: My Project: Guile Hypertext Preprocessor

2010-08-18 Thread Andy Wingo
Hi, On Wed 11 Aug 2010 17:12, Luiji Maryo writes: > When looking through http://www.gnu.org/software/guile/ideas.html, I > came across this nifty little idea for a PHP-like hypertext > preprocessor that works with Guile. I was recently pointed to http://woozle.org/~neale/src/eguile/. What do yo

Re: Data Dictionary and Configuration Files with Guile Scheme

2010-08-18 Thread Andy Wingo
On Thu 05 Aug 2010 10:15, Romel Sandoval writes: > I'm trying to create a data dictionary [1] to generate code from it. [...] > This way I can write s-exp as in the example *projects-table* an after a > load I will have the data structure ready to work with it. I think you are quite confused :)

Re: thread safe functions

2010-08-18 Thread Andy Wingo
Hi Cedric, On Thu 05 Aug 2010 04:27, Cedric Cellier writes: > Is there somewhere a list of guile functions that are (/are not) thread > safe ? > > I ask since this morning I was after a strange bug because I was using > the format module in two different thread, then learnt that these > function

Re: Plotting in Guile

2010-08-18 Thread Andy Wingo
Hi Joel, On Wed 28 Jul 2010 08:21, Joel James Adamson writes: > I am using Guile to iterate equations and produce trajectories from > those iterations. My current strategy is to redirect the stdout to a > file and then use GNUPLOT to plot the trajectories as parametric > plots. However, I woul

Re: Guile and Atom or XMPP

2010-08-18 Thread Andy Wingo
On Tue 27 Jul 2010 16:26, Mike Gran writes: > Are there libraries about that would allow Guile to interact with the Atom > Syndication Format and with XMPP.  Google reveals nothing, as far as I > can tell. It's not a parser, but for emitting atom it's easy enough to do it in straight-up sxml. T

Re: Guile for Game Scripting

2010-08-18 Thread Andy Wingo
Hi Luiji, No Itisnt has already mentioned that Guile will support Lua, but I don't think there's a problem with using the canonical implementation of Lua, no. Basically the thing is, use what you want, but GNU suggests Guile; and in the near future Guile will have decent support for a couple other

Re: Guile, C++, and Mac OS X 10.4 (powerpc)

2010-08-18 Thread Hans Aberg
On 18 Aug 2010, at 15:49, Ludovic Courtès wrote: Hey guile users, Trying to compile the simple example bessel.c from Writing-Guile-Extensions.html (renamed bessel.cc because I'm using g+ +), I encountered the following error: bessel.cc: In function 'void init_bessel()': bessel.cc:13: error: i

Re: problem building guile-reader

2010-08-18 Thread Ludovic Courtès
Hello, (Please follow-up to ‘guile-reader-de...@nongnu.org’. Sorry for the late reply, I had been sunbathing over the last few weeks. ;-)) What does ‘gcc --version’ say? Can you please print the value of ‘items’ in ‘parse-snarfed-line’ in modules/system/documentation/c-snarf.scm? Thanks in ad

Re: Latest guile 1.9 segfault in GC

2010-08-18 Thread Ludovic Courtès
Hi, Cedric Cellier writes: > But finaly, thanks to libgc's debug message, I got it. > Actually, libgc overwrite pthread_create (and pthread_sigmask, > and a few more) to know when a new thread is started. > But this overloading is done "softly", ie. by a define in a > C header file. [...] > So

Re: Latest guile 1.9 segfault in GC

2010-08-18 Thread Ludovic Courtès
Hi! Cedric Cellier writes: > I do not understand how this GC works, but find it strange that this global > variable is changed like this, especially since the libgc gc.h reads : > "GC_all_interior_pointers (...) May not be changed after GC initialization." ‘scm_storage_prehistory’ does that in

Re: make-module question.

2010-08-18 Thread Ludovic Courtès
Hi! Ian Hulin writes: > (make-module) doesn't seem to appear in the documentation, Is it > supported, discouraged or deprecated? It is undocumented but safe to use. > Is there a supported scm_make_module we can use in the Guile API, and > if not, is it safe to use > > SCM scm_make_module_x =

Re: Guile, C++, and Mac OS X 10.4 (powerpc)

2010-08-18 Thread Ludovic Courtès
Hi, Hans Aberg writes: > On 28 Jul 2010, at 21:49, Mike Solomon wrote: > >> Hey guile users, >>Trying to compile the simple example bessel.c from >> Writing-Guile-Extensions.html (renamed bessel.cc because I'm using >> g+ >> +), I >> encountered the following error: >> >> bessel.cc: In funct