Chusslove Illich [EMAIL PROTECTED] wrote:
[: Ido Yehieli :]
return scm_str2string (getenv (HOSTNAME));
[...]
/tmp/ccerLXy4.o: In function `my_hostname':simple-guile.c:(.text+0x16):
undefined reference to `scm_str2string'
scm_str2string doesn't seem to exist. If you use -Wall
Kevin Ryde [EMAIL PROTECTED] wrote:
Dave Griffiths [EMAIL PROTECTED] writes:
I tried running the example through the C preprocessor, and it seems
the docstring is lost anyway:
There's some magic with a -DSCM_MAGIC_SNARF_DOCS to get them, then
the
Kevin Ryde [EMAIL PROTECTED] wrote:
Dave Griffiths [EMAIL PROTECTED] writes:
I tried running the example through the C preprocessor, and it seems
the docstring is lost anyway:
There's some magic with a -DSCM_MAGIC_SNARF_DOCS to get them, then
the
Neil Jerram [EMAIL PROTECTED] wrote:
Neil Jerram [EMAIL PROTECTED] writes:
Thanks; I expect to have some draft text for you by end tomorrow.
Draft text is below; please let me know your thoughts on it - most
importantly, of course, whether it answers your question!
5.21.2
Paul Emsley [EMAIL PROTECTED] wrote:
Anyone using mixp and can help out here?
$ [configure/make/make install all clean]
$ cd test
$ guile-expat test-mixp.scm
/xxx/guile/1.6/ice-9/syncase.scm:130:16: In procedure scm-error in expression
(scm-error (quote misc-error) who ...):
Ludovic Courtès [EMAIL PROTECTED] wrote:
Hi,
Greg Troxel [EMAIL PROTECTED] writes:
I have this patch lying around from adding pkgconfig support long ago; I
think I sent it and there wasn't much interest then.
FWIW, I'm all in favor of applying such a patch. We could keep
Kaloian Doganov [EMAIL PROTECTED] wrote:
Is there a way to use fcntl's F_GETLK command from Guile? According
to the docs [1], only the following commands are available:
F_DUPFD
F_GETFD
F_SETFD
F_GETFL
F_SETFL
F_GETOWN
F_SETOWN
FD_CLOEXEC
Kevin Ryde [EMAIL PROTECTED] wrote:
Kaloian Doganov [EMAIL PROTECTED] writes:
Neighter F_GETLK nor F_SETLK is there.
Yep, not there. It'd need something for struct flock (and struct
flock64 when available), they're not plain integers like the other
fcntl commands.
Oops! Sorry
Andy Wingo [EMAIL PROTECTED] wrote:
Hi,
Since it's a week later now and no one's answered:
On Mon 17 Sep 2007 23:49, Luigi Semenzato [EMAIL PROTECTED] writes:
Is this a reader bug? Hash marks following
an integer are interpreted as zeros, and the
number is converted to real.
Scott N. Walck [EMAIL PROTECTED] wrote:
Guile folks,
Is there a way to ask for the definition of a procedure or to find the
source code for a procedure?
Yes.
For example, symbol is a guile procedure. I can see that by typing
its name.
guile symbol
#procedure symbol args
But
have been using in sneek (the #guile
channel bot on freende) for years. It just provides open, close, and exec.
I think it's still at http://users.adelphia.net/~dsmich/guile-sqlite-0.4.tar.gz
-Dale
Ishan Arora [EMAIL PROTECTED] 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.
Try
Clinton Ebadi [EMAIL PROTECTED] wrote:
(define-module (pg whatever)
#:export (guile-pg symbols ...))
(load-extension libwhateverpg guile_pg_init)
Is roughly what you need. Assuming that there is an init function in
guile-pg that creates all of bindings for the library
Ludovic Courtès [EMAIL PROTECTED] wrote:
Sebastian Tennant [EMAIL PROTECTED] writes:
What exactly happens when you 'define' a symbol?
But, just like `eval' is evil, run-time symbol definition doesn't
sound right. Surely, there are other ways that you could use to solve
your problem
Andy Wingo wi...@pobox.com wrote:
On Wed 24 Dec 2008 22:14, Julian Graham jool...@gmail.com writes:
Evan Prodromou's (net http)
I haven't seen this code, but I want it! :)
If you can't find this anymore (I can't), I have a copy.
-Dale
Neil Jerram neiljer...@googlemail.com wrote:
scm_init_guile has always been a bit problematic, as it requires lots
of heuristic and OS-dependent code to try to determine where the base
of the stack is. It's never been formally deprecated, but we have
always advised people to use
Chengqi Song son...@gmail.com wrote:
the reference is here:
http://www.littlewingpinball.com/contents/en/ypsilon_1g.html
just for your reference
lars
Why? System information: Guile 1.8.3
Guile 1.8 and earlier is an interpreter. 2.0 (and the current 1.9.x) compiles
Thomas Thiriez tho...@twistedwave.com wrote:
Hi Paul,
Here is what you should use for xxx:
SCM FindFunc(const char *funcName)
{
SCM funcSymbol = scm_c_lookup(funcName);
if (!funcSymbol)
// undefined symbol
return 0;
return scm_variable_ref(funcSymbol);
Josef Wolf j...@raven.inka.de wrote:
Hello,
I am trying to write a (simple) function to convert s-expressions to XML.
Guile 1.9/2.x has sxml modules. So
(use-modules (sxml simple))
(define (sexp-xml s)
(sxml-xml s))
Ought to get you pretty close. (untested)
-Dale
Josef Wolf j...@raven.inka.de wrote:
Hello,
I am trying to write a (simple) function to convert s-expressions to XML.
Guile 1.9/2.x has sxml modules. So
(use-modules (sxml simple))
(define (sexp-xml s)
(sxml-xml s))
Ought to get you pretty close. (untested)
-Dale
Mike Gran spk...@yahoo.com wrote:
On Linux (the kernel), to see if this is the case (and I'm going
from memory here, so forgive me if this isn't perfect) you can
run guile as
LD_DEBUG=all LD_DEBUG_OUTPUT=tmp.txt guile
and then try to load your extension.
Then after your run, it
nalaginrut nalagin...@gmail.com wrote:
I wonder if there is a tool to, say, strip all comments from the
binary, so it could be smaller. I guess such tool would not be that
hard to write, but I don't know.
I think it's not a big deal if you just want to get rid of comments.I
always
Ludovic Courtès l...@gnu.org wrote:
Neat! What about submitting it upstream? :-)
(smacks head) Great idea!
Done.
-Dale
Alexei Matveev alexei.matv...@gmail.com wrote:
As a background, Fortran allows you to declare foreign functions, for
example,
like this:
type, public, bind(c) :: scm_t
private
integer(c_intptr_t) :: do_not_ever_use
end type scm_t
interface
function scm_symbol_p (obj)
msemat...@myopera.com wrote:
On Thu, Dec 6, 2012, at 08:24 PM, Mark H Weaver wrote:
msemat...@myopera.com writes:
Last line of configure output:
...
...
...
checking for libltdl... no
and an error is issued complaining about the
Andreas Röhler andreas.roeh...@easy-emacs.de wrote:
Hi,
Emacs install from
http://git.hcoop.net/?p=bpt/emacs.git;a=shortlog
fails with
configure: error: Library requirements (guile-2.0) not met; consider
adjusting the PKG_CONFIG_PATH environment variable if your libraries are
Klaus Schilling schilling.kl...@web.de wrote:
From: Matt Wette mwe...@alumni.caltech.edu
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
Mark H Weaver m...@netris.org wrote:
Eli Zaretskii e...@gnu.org writes:
From: Mark H Weaver m...@netris.org
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
mark.d.wit...@gmail.com wrote:
Alex Sassmannshausen alex.sassmannshau...@gmail.com writes:
When I start guile up, the variable %load-path is the list '(./
/usr/share/guile/2.0 /usr/share/guile/site/2.0
/usr/share/guile/site /usr/share/guile).
Beware! You really should not have . in
Lovis Suchmann panlo...@aol.com wrote:
Hello everyone,
I'm working with Guile Scheme (with the LilyPond music engraver
software, if someone knows this), and atm I have the problem that I
would like to load an external scheme file in the current environment, like
; external.scm
Ludovic Courtès l...@gnu.org wrote:
Hello Guilers,
I’m happy to announce that Mark H. Weaver has now been officially
appointed as Guile co-maintainer by the GNU Project overseers, along
with Andy and myself.
Mark has been doing excellent work on Guile for several years,
tirelessly
Mark A. Hershberger m...@nichework.com wrote:
Is there a piece of standard code or a library that I can use to escape
a string so it is safe to pass to bash?
Specifically, I have submitted this bit[1] to add deletion of duplicate
messages to a guile script included with mu (maildir
David Thompson wrote:
> Hello Guilers,
>
> Following a conversation on #guile about making it easier to generate
> boilerplate for new Guile projects and reduce the need to snarf and/or
> monkey type build system configs from other projects, I would like to
> throw out an
David Pirotte wrote:
> Hi Dale,
>
> > > However, Andy Wingo [the original author of Guile-SQLite3 binding]
> > > mentioned on
> > > irc that a guile-sqlite project previously existed maybe? I can't find
> > > it and
> > > would like, if this is accurate, the author or
David Pirotte wrote:
> Hello Guilers,
>
> I would like to work on and submit a GNU eval request for GNU Guile-SQLIte
> but 2 quizz first:
>
> 1]
>
> The current name is Guile-SQLite3 and I would like to drop the 3 from the
> name,
> precisely not to have the API
Lawrence Bottorff wrote:
> With guile (and a few other Schemes/Lisps) you can directly add fractions
> or rational numbers:
>
> (+ 1/2 1/12)
> => 7/12
>
> It's like magic, no? Anyway, I'm trying -- for educational purposes -- to
> reproduce this functionality. But
Thomas Morley wrote:
> Hi all,
>
> I cloned the guile-git-repository in my home-directory and tried to
> compile a local branch called `my-v2-second-try` (derived from
> `remotes/origin/stable-2.0`).
>
> Following the steps listed in INSTALL I did
> ./configure
Mark H Weaver wrote:
> David Kastrup writes:
>
> > Mark H Weaver writes:
> >ument
> >> I'm sorry David, but _everything_ that you wrote below is incorrect.
> >
> > Well, let me try again. It's not all that easy to understand.
>
> You're
Jeremy Korwin-Zmijowski wrote:
> Dears,
>
> I am trying to build Guile from git sources (master branch) but when I
> issue make command, the process is stuck here :
>
> GEN guile-procedures.texi
> make[3]: Leaving directory
Stephen Scheck wrote:
> Per https://www.gnu.org/software/guile/manual/guile.html#Memory-Blocks -
> the scm_gc_malloc() function takes a const char * for the second parameter:
>
> void * scm_gc_malloc (size_t size, const char *what)
>
> However, the docs do not explain what it is
> We are pleased to announce GNU Guile release 2.9.9.
When attempting to build on a Debian Jessie 32bit arm system, gcc
(Debian 4.9.2-10+deb8u2) 4.9.2
I'm working on updating this system to Debian Stable, but it might
require wiping it and doing a fresh install.
Maybe sort the vector in the other direction and access with index 0
instead?
-Dale
-From: "Aleix Conchillo
Flaqué"
To: "guile-user"
Cc:
Sent: Sunday December 20 2020 1:59:04AM
Subject: vector-last / vector-ref with negative indices?
Hi,
This
Greetings Matt,
You also must register your nick with nickserv before you can speak in
the channel.
-Dale
From: "adriano"
> (import (ice-9 control))
>
> (define (test x)
> (let/ec return
> (cond
> ((= x 3) (return 7))
> ((= x 2) (return 5)
> What does this return (defined with let/ec) do ?
> In the orevious versions I could see the call to call/cc so I could
> (somewhat) figure out
> From: "Jérémy Korwin-Zmijowski"
>
> I would like to visualize all the modules a given module depend on.
>
> How do you achieve that ?
>
> Any existing tool ?
Maybe this from the guile sources: module/scripts/use2dot.scm
-Dale
From: "Mikael Djurfeldt"
To: "Aleix Conchillo Flaqué"
Cc: "guile-user"
Sent: Sunday February 6 2022 8:15:06AM
Subject: Re: Newbie thoughts on Guile Hall + Guix
> I also think that there is a need for something light-weight and
cross
> platform. I think, e.g., that PyPI is one of the main
> From: "Blake Shaw"
> Subject: Wiki && Re: [feature request] merge sxml->html from (haunt
html) into guile?
>
> Since getting feedback on my presentation for Guix Days, where I
think a
> lot of good criticism was raised, I've been thinking about ways to
organize
> contributions to the docs.
> From: "Olivier Dion via General Guile related discussions"
> On Mon, 02 Jan 2023, Olivier Dion via General Guile related
discussions wrote:
> On Mon, 02 Jan 2023, Greg Troxel wrote:
> > Hmm from a description I see on Guix, libev has relative timers. I
> > don't know if it's portable like
> From: "Vivien Kraus"
> To: "guile-user"
> Sent: Wednesday November 2 2022 12:38:05PM
> Subject: Fibers web server: use multiple server sockets
> Fibers is a library that I would very much like to use. It provides
a
> nice web server. However, as I recently discovered, in a standard
> GNU/Linux
49 matches
Mail list logo