Re: TTN

2023-10-18 Thread Nala Ginrut
TTN was a great Guile hacker, I've learned so much from his code. That's all I know about him. However, after he passed away, I found other communities' people mentioned him, then I realized that he was such a comprehensive hacker. RIP. Best regards. On Tue, Oct 17, 2023, 21:11 Mike Gran wrote

Is it possible to write program only in Guile?

2023-10-18 Thread CToID
Hello guys, a common lisper here.  I've recently developed some interests in Guile, and wonder if I can make a program entirely written in Guile. The reason why I am asking this question is because Guile seems to be designed as an extension language that will be embedded into other programs.

Re: Is it possible to write program only in Guile?

2023-10-18 Thread Basile Starynkevitch
On 10/18/23 12:23, CToID wrote: Hello guys, a common lisper here.  I've recently developed some interests in Guile, and wonder if I can make a program entirely written in Guile. The reason why I am asking this question is because Guile seems to be designed as an extension language that will

Re: Is it possible to write program only in Guile?

2023-10-18 Thread Olivier Dion
On Wed, 18 Oct 2023, CToID wrote: > Hello guys, a common lisper here.  I've recently developed some > interests in Guile, and wonder if I can make a program entirely written > in Guile. Yes. > The reason why I am asking this question is because Guile seems to be > designed as an extension lan

Re: Is it possible to write program only in Guile?

2023-10-18 Thread Zelphir Kaltstahl
On 10/18/23 12:23, CToID wrote: Hello guys, a common lisper here.  I've recently developed some interests in Guile, and wonder if I can make a program entirely written in Guile. The reason why I am asking this question is because Guile seems to be designed as an extension language that will be

Re: Is it possible to write program only in Guile?

2023-10-18 Thread CToID
Thanks for all of your kind and informative replies, I have just another question about Guile. 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 able to produce a standalone executable.

Re: Is it possible to write program only in Guile?

2023-10-18 Thread Basile Starynkevitch
On 10/18/23 15:31, CToID wrote: Thanks for all of your kind and informative replies, I have just another question about Guile. 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 able to produce a standalo

Re: Is it possible to write program only in Guile?

2023-10-18 Thread Marc Chantreux
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: > There is a third way that I personally use. I use the FFI to make > bindings of the public interface of a low-level C library

Re: Is it possible to write program only in Guile?

2023-10-18 Thread Olivier Dion
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: > >> There is a third way that I personally use. I use the FFI to make >>

Re: Is it possible to write program only in Guile?

2023-10-18 Thread Greg Troxel
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 > able to produce a standalone executable. The same way you distribute Java programs, python programs and perl programs. You ask they they

Re: Is it possible to write program only in Guile?

2023-10-18 Thread CToID
Greg Troxel said: The same way you distribute Java programs, python programs and perl programs. You ask they they install the langauge environment as part of your instructions Is it possible to also ship guile itself with the application?

Re: Is it possible to write program only in Guile?

2023-10-18 Thread Hans Åberg
> On Oct 18, 2023, at 17:06, CToID wrote: > > Greg Troxel said: >> The same way you distribute Java programs, python programs and perl >> programs. You ask they they install the langauge environment as part of >> your instructions > > > Is it possible to also ship guile itself with the appl

Re: Is it possible to write program only in Guile?

2023-10-18 Thread Thompson, David
I'm assuming that for whatever you're doing, traditional OS distribution isn't what you want. It's possible to bundle Guile + all necessary shared libraries + all necessary Guile modules from the standard library + a wrapper script to launch your application. Up to you to figure out how you build

Re: Is it possible to write program only in Guile?

2023-10-18 Thread wolf
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: > > >

Re: Generating "independent" random numbers

2023-10-18 Thread Mikael Djurfeldt
On Wed, Oct 4, 2023 at 12:22 AM Zelphir Kaltstahl < zelphirkaltst...@posteo.de> wrote: > Aye, sorry for that typo. Yes, my goal is normal distributed floats > (leaving > aside the finite nature of the computer and floats). > Maybe I'm missing something from just skimming this long discussion, but

Re: Is it possible to write program only in Guile?

2023-10-18 Thread Olivier Dion
On Wed, 18 Oct 2023, wolf wrote: [...] >> #!/bin/sh >> #-*-Scheme-*- >> exec guile --no-auto-compile -e main -s "$0" "$@" >> !# > > The problem with --no-auto-compile is that without the compilation the error > messages (and stack traces) are... less than great. > > But other than that I am using

Re: Is it possible to write program only in Guile?

2023-10-18 Thread Janneke Nieuwenhuizen
Hans berg writes: >> On Oct 18, 2023, at 17:06, CToID wrote: >> >> Greg Troxel said: >>> The same way you distribute Java programs, python programs and perl >>> programs. You ask they they install the langauge environment as part of >>> your instructions >> >> >> Is it possible to also ship

Re: Is it possible to write program only in Guile?

2023-10-18 Thread tomas
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 > > able to produce a standalone executable. > > The same way you distr