On 2023-10-19 06:52:40 +0200, to...@tuxteam.de wrote:
> On Wed, Oct 18, 2023 at 10:43:25AM -0400, Greg Troxel wrote:
> > CToID writes:
> >
> > > How do I distribute Guile programs to somebody who doesn't have Guile
> > > installed on their system? It does not seem like Guile compiler is
> > > ab
On 2023-10-18 09:44:35 -0400, Olivier Dion wrote:
> On Wed, 18 Oct 2023, Marc Chantreux wrote:
> > hi,
> >
> > I don't get the difference between this
> >
> >> 2. The program is written in Guile. It can access C routines with the
> >> foreign function interface (FFI). …
> >
> > and this:
> >
>
On 2023-08-09 10:18:05 -0400, Mortimer Cladwell wrote:
> Hi,
> I am running a local fake Urbit zod on port 8080. I want to submit an
> http-request and obtain an urbauth id cookie. I run the following method:
>
> (use-modules (web client)(web response) (srfi srfi-9)(oop goops) (ice-9
> receive) (i
On 2023-08-09 10:18:05 -0400, Mortimer Cladwell wrote:
> Hi,
> I am running a local fake Urbit zod on port 8080. I want to submit an
> http-request and obtain an urbauth id cookie. I run the following method:
>
> (use-modules (web client)(web response) (srfi srfi-9)(oop goops) (ice-9
> receive) (i
On 2023-06-09 16:33:56 -0300, David Pirotte wrote:
>
> > > That is pretty embarrassing mistake on my part, the link is:
> > > https://www.erikedrosa.com/2017/10/29/guile-projects-with-autotools.html
>
> Very good tutorial and project structure ... which you may 'complete'
> looking at some existi
On 2023-06-08 23:33:47 -0400, Olivier Dion wrote:
> On Fri, 09 Jun 2023, wolf wrote:
> > Greetings,
> >
> > I am starting a small, personal project and I want to write it in GNU Guile,
> > since I really like it so far. However, since one of the major goals is fo
Greetings,
I am starting a small, personal project and I want to write it in GNU Guile,
since I really like it so far. However, since one of the major goals is for
this to be a learning experience and doing it "the right way", I wanted to ask
about recommended/standard project structure for Guile
Hello,
first, let me thank you for thorough explanation, it helped and I (hopefully)
now have better understanding. Few more questions are below.
On 2023-02-12 20:52:16 +0100, Taylan Kammer wrote:
> On 12.02.2023 19:46, wolf wrote:
>
> > So, I have few questions I would like to ask
Hello,
I had encountered interesting thing yesterday, which challenged my
understanding of guile (scheme). I always assumed that order of definitions in
scheme does not matter, as long as everything if defined when it is running.
So this should (and does) work:
(define (x) (y))
(define (
no idea what this message says.
>
>
> Il giorno gio 2 feb 2023 alle ore 17:13 Wolf ha scritto:
>
> > Hello,
> >
> > I'm having a problem of getting borderline useless stack traces from a
> > script
> > executed via a shebang. For exampl
On 2023-02-02 17:39:50 +0100, Jean Abou Samra wrote:
> On 02/02/2023 17:11, Wolf wrote:
> > Hello,
> >
> > I'm having a problem of getting borderline useless stack traces from a
> > script
> > executed via a shebang. For example, let's consider foll
Hello,
I'm having a problem of getting borderline useless stack traces from a script
executed via a shebang. For example, let's consider following script:
$ cat /tmp/x.scm
#!/bin/sh
exec guile --no-auto-compile -e main -s "$0" "$@"
!#
(define (main args)
(foo))
On 2023-01-07 12:07:31 -0800, Matt Wette wrote:
> On 1/7/23 8:34 AM, Sascha Ziemann wrote:
> > Is the procedure "bytevector" missing in Guile?
> >
> > I tried this:
> > guile --r7rs -c '(write (bytevector 1 2 3))'
> >
> > R7RS defines it on page 49.
> >
>
> maybe you need (import (rnrs bytevect
On 2022-11-12 07:32:39 +, pukkamustard wrote:
>
> Hi,
>
> Aleix Conchillo Flaqué writes:
>
> > Yes, I would also need guile-srfi-128. It would be great to have tarballs
> > for each release. I was also trying to adding guile-eris, but
> > I was missing guile-sodium which unfortunately do
Hello,
I am trying to write a (simple) function to convert s-expressions to XML.
I've come up with following function, which (somehow) works:
(use-modules (ice-9 rdelim))
(use-modules (ice-9 pretty-print))
(define atom?
(lambda (x)
(and (not (pair? x)) (not (null? x)
(
On Mon, Mar 22, 2010 at 09:36:16PM +0100, Andy Wingo wrote:
> Hi Josef,
>
> On Mon 22 Mar 2010 20:50, Josef Wolf writes:
>
> >> http://git.savannah.gnu.org/gitweb/?p=guile.git;a=blob;f=doc/ref/api-macros.texi;h=51f54ed070af453a138282f61e7cd8dbbddc53a3;hb=HEAD
> >
>
On Sat, Mar 20, 2010 at 03:13:45PM +0100, szgyg wrote:
> Josef Wolf wrote:
> >I am trying to understand the defstruct macro from the "teach yourself
> >scheme in fixnum days" tutorial, which can be found in chapter 9 at
> >http://www.ccs.neu.edu/home/dorai/t-
On Mon, Mar 22, 2010 at 09:16:34PM +0100, Andy Wingo wrote:
> Hi Josef,
>
> I seem to be the negative guy in replies to you.
Uh? I did not notice anything negative?
> Apologies for that!
I don't see any reason for you to apologize...
> On Mon 22 Mar 2010 20:25, Josef Wol
On Fri, Mar 19, 2010 at 03:28:39PM +0100, Andy Wingo wrote:
> Hi,
>
> On Fri 19 Mar 2010 09:57, Josef Wolf writes:
>
> > (show-expansion (defstruct tree height girth age leaf-shape leaf-color))
>
> (macroexpand '(defstruct ...))
>
> You might want
On Fri, Mar 19, 2010 at 05:15:57PM +0100, Andreas Rottmann wrote:
> defmacros are bound to bite you in the proverbial ass real hard when you
> combine them with modules, so it's best to avoid them like the
> plague. At least that's my experience, FWIW.
Thanks for the warning. I'd like to understan
On Fri, Mar 19, 2010 at 08:54:02AM -0400, Ken Raeburn wrote:
> On Mar 19, 2010, at 04:57, Josef Wolf wrote:
> > My next question is more related to the defstruct macro.
> > In line 11, defstruct stores the default initializers into the vv vector:
> >
> > (if (p
Hello,
I am trying to understand the defstruct macro from the "teach yourself
scheme in fixnum days" tutorial, which can be found in chapter 9 at
http://www.ccs.neu.edu/home/dorai/t-y-scheme/t-y-scheme-Z-H-11.html#node_chap_9
My first question is of a more generic type. For a better understanding
On Sun, Nov 15, 2009 at 07:16:10PM +0100, Andy Wingo wrote:
> On Sun 15 Nov 2009 17:19, Josef Wolf writes:
> > I would like to try some GUI stuff with guile. Since I have some experience
> > with Tk (with perl and ruby), I tried Tk following
> > http://www.galassi.
On Sun, Nov 15, 2009 at 07:18:33PM +0100, Andy Wingo wrote:
> On Sun 15 Nov 2009 17:33, Josef Wolf writes:
> > I am trying to work through the little schemer book. In order to make it
> > easier to go through the examples, I've come up with the following macro:
> > [
On Sun, Nov 15, 2009 at 08:26:58PM +, Neil Jerram wrote:
> Josef Wolf writes:
> > I am trying to work through the little schemer book. In order to make it
> > easier to go through the examples, I've come up with the following macro:
> > [ ... ]
>
> The body
Hello,
I am trying to work through the little schemer book. In order to make it
easier to go through the examples, I've come up with the following macro:
;;; Helper to visualize
(define-macro (disp exp)
(display exp) (newline)
`(display ,exp)
; (newline) (newline)
)
This wor
Hello,
I would like to try some GUI stuff with guile. Since I have some experience
with Tk (with perl and ruby), I tried Tk following
http://www.galassi.org/mark/mydocs/guile-programmer_2.html:
(require 'Gwish)
(use-library tcl)
(use-interface tcl)
(use-interface tclhack)
(tk-main-loop)
On Tue, Oct 23, 2007 at 01:41:57PM +0100, Neil Jerram wrote:
> Josef Wolf <[EMAIL PROTECTED]> writes:
> > I followed the suggestion from the info pages and put following into my
> > ~/.guile file:
>
> Which info pages were those? The info for 1.6.7 does not mention
&g
Hello,
I followed the suggestion from the info pages and put following into my
~/.guile file:
(use-modules (ice-9 debugger breakpoints))
(use-modules (ice-9 debugger breakpoints source))
(use-modules (ice-9 debugger breakpoints procedural))
(use-modules (ice-9 readline))
(activate-readl
On Wed, Oct 10, 2007 at 06:21:25PM +0200, Ludovic Courtès wrote:
> Josef Wolf <[EMAIL PROTECTED]> writes:
> > In guile's info page, all I can find is chapter 22.5, but this seems
> > to describe something much more general than what defstruct would do.
> `defstruct
Hello,
I am about to learn scheme by working through some tutorials. My first
attempt is http://www.ccs.neu.edu/home/dorai/t-y-scheme/t-y-scheme.html,
which is suggested from the schemers.org pages.
Now I would like to use structures as described in
http://www.ccs.neu.edu/home/dorai/t-y-scheme/t
31 matches
Mail list logo