Re: Mes 0.8 released

2017-06-26 Thread Neil Jerram
Hi Jan, Thanks for your answer. I'm afraid I have no better ideas than the ones that you have listed - and in fact I wouldn’t have known about those ones either. I was just curious about what the next step would be. It certainly seems to me like an interesting and worthwhile project.  Best wis

Re: good tutorial on extending a c++ project with Guile ?

2017-06-26 Thread Chris Vine
On Mon, 26 Jun 2017 14:45:06 +0200 Samuel Barreto wrote: > Hi everyone, > > I want to create a Guile extension to a big C++-based project called > Bio++ (dedicated to bioinformatics and computational biology). > > However I failed to find a good and simple example on how to extend a > C++ progra

Re: good tutorial on extending a c++ project with Guile ?

2017-06-26 Thread David Kastrup
Samuel Barreto writes: > Hi everyone, > > I want to create a Guile extension to a big C++-based project called > Bio++ (dedicated to bioinformatics and computational biology). > > However I failed to find a good and simple example on how to extend a > C++ program with Guile. My idea was to create

Re: good tutorial on extending a c++ project with Guile ?

2017-06-26 Thread Hans Åberg
> On 26 Jun 2017, at 14:45, Samuel Barreto wrote: > So can anyone point me to a good example or a simple tutorial on how to > extend C++ with Guile ? Long ago, I wrote [1], which includes a parser generated with Flex/Bison, and examples how to convert between Guile and C++ exceptions. Accordin

Re: good tutorial on extending a c++ project with Guile ?

2017-06-26 Thread Panicz Maciej Godek
2017-06-26 15:03 GMT+02:00 Panicz Maciej Godek : > > > 2017-06-26 14:45 GMT+02:00 Samuel Barreto : > >> Hi everyone, >> >> I want to create a Guile extension to a big C++-based project called >> Bio++ (dedicated to bioinformatics and computational biology). >> >> However I failed to find a good an

combining ~{ with v paramaters in format string

2017-06-26 Thread Ernest Adrogué
Hi, I'm having a little trouble with a format string, using the "format" module. The following two lines produce the same output: "a b". (format #t "~a ~a~%" "a" "b") (format #t "~{~a ~a~%~}" '("a" "b")) Now the same thing but adding an argument to give the length of the first element: (format

Re: good tutorial on extending a c++ project with Guile ?

2017-06-26 Thread Panicz Maciej Godek
2017-06-26 14:45 GMT+02:00 Samuel Barreto : > Hi everyone, > > I want to create a Guile extension to a big C++-based project called > Bio++ (dedicated to bioinformatics and computational biology). > > However I failed to find a good and simple example on how to extend a > C++ program with Guile. M

good tutorial on extending a c++ project with Guile ?

2017-06-26 Thread Samuel Barreto
Hi everyone, I want to create a Guile extension to a big C++-based project called Bio++ (dedicated to bioinformatics and computational biology). However I failed to find a good and simple example on how to extend a C++ program with Guile. My idea was to create a shared library that can be called

Re: Multiple values passed as single argument to procedure

2017-06-26 Thread Alex Vong
Here is an explanation of multiple values by Oleg[0] and an implementation from the Scheme book[1]. These are more advanced stuff. Honestly, I usually don't understand what Oleg said. But it is good to know these references. It is like math, one day when you have enough background and the right per

Re: Mes 0.8 released

2017-06-26 Thread Jan Nieuwenhuizen
Neil Jerram writes: Hi Neil! > In your bootstrap path, what is the step after Mes?‎ I guess it would > be using mescc to compile some C program - but if that is right, which > program?  Indeed. Short answer: I don't know. Do you have something in mind? We haven't decided yet and are still exp

Re: Mes 0.8 released

2017-06-26 Thread Neil Jerram
Hi Jan, In your bootstrap path, what is the step after Mes?‎ I guess it would be using mescc to compile some C program - but if that is right, which program?  Regards - Neil    Original Message   From: Jan Nieuwenhuizen Sent: Sunday, 25 June 2017 17:40 To: guile-user@gnu.org Cc: guix-de...@gnu