Re: Curiosity: Microkernel implemented in Guile ?

2022-06-23 Thread Paul Emsley
On 23/06/2022 14:30, Dr. Arne Babenhauserheide wrote: Ognen Duzlevski writes: Matias Jose Seco Baccanelli writes: Isn't a cool mix the functional approach of Guile and the modular one of Microkernel ? (and loads of more features i suppose!) What I think would be easier to do is embed

G-Golf - Getting started

2021-04-12 Thread Paul Emsley
Hi G-Golfers, >From here: https://www.gnu.org/software/g-golf/manual/g-golf.html GNU G-Golf can be obtained from the following archive site http://ftp.gnu.org/gnu/g-golf/. The file will be named g-golf-version.tar.gz. The current version is 0.1.0, so the file you should grab is:

Re: Guile + SWIG

2021-04-08 Thread Paul Emsley
pts with load-extension are compiled, the compiler does not know > what symbols are defined in the extension so you may get warnings. Are you > getting an error or just the warning? > > On 4/5/21 10:44 AM, Paul Emsley wrote: > > Hi Linas, > > > > Thanks for your repl

Re: Guile + SWIG

2021-04-05 Thread Paul Emsley
you never explained how "enhanced-ligand-coot-p" > magically showed up in your environment. > > When a module is defined, it starts with a new environment. The module > cannot access stuff you've defined previously; you would have to import > it somehow. > > --linas &

Guile + SWIG

2021-04-05 Thread Paul Emsley
Hi, I am bringing my swigged Gtk2 + guile 1.8.8 + guile-gtk application up to date and I'd like some help please. My SWIG usage wraps many function, including enhanced_coot_ligand_p(). I am confused between the difference between functions that are available from C/C++ and those from a scheme

Guile + SWIG

2021-04-05 Thread Paul Emsley
Hi, I am trying to bring my swigged Gtk2 + guile 1.8.8 + guile-gtk application up to date and I'd like some help please. My SWIG usage wraps many function, including enhanced_coot_ligand_p(). I am confused between the difference between functions that are available from C/C++ and those from a

Re: getting started writing desktop applications

2016-07-17 Thread Paul Emsley
On 17/07/2016 17:38, Christopher M. Hobbs wrote: Is there a recommended library for building desktop applications? Maybe some GTK (or maybe Tk, as old as it is) tie-ins or something to that effect? There's guile-gnome: https://www.gnu.org/software/guile-gnome/ P.

Re: Extending a GTK+ Application with Guile

2012-05-25 Thread Paul Emsley
On 24/05/12 20:11, Kevin J.Fletcher wrote: Hello Guilers. My intent is to add guile as a method of [optionally, at build time] extending a GTK+ application. With the addition of being able to run guile scripts I hope to provide a guile-shell to give real-time interactive power. Very good.

Re: execlp

2011-11-23 Thread Paul Emsley
. On Wed, Nov 23, 2011 at 12:06 AM, Paul Emsley paul.ems...@bioch.ox.ac.uk mailto:paul.ems...@bioch.ox.ac.uk wrote: Hi, I am trying to see if there is a way to determine if a program is in the path (i.e. a bit like which), returning a #t or #f answer. I was looking execl

execlp

2011-11-22 Thread Paul Emsley
Hi, I am trying to see if there is a way to determine if a program is in the path (i.e. a bit like which), returning a #t or #f answer. I was looking execl and execlp. The documentation for execl says: Executes the file named by path as a new process image what is path ? I'm guessing

get procedure?

2010-02-17 Thread Paul Emsley
I don't understand what xxx is. Can you help? (Bit of a noob question, I feel). SCM rest = SCM_EOL; SCM arg_list = SCM_EOL; arg_list = scm_cons(SCM_MAKINUM(4), arg_list); arg_list = scm_cons(SCM_MAKINUM(1), arg_list); SCM func = xxx(-); SCM v = scm_apply_1(func, arg_list,

Re: strange behaviour of (floor .)

2009-12-28 Thread Paul Emsley
gu...@mails.selgrad.org wrote: Hej all :) I'm a little confused by the results of (floor .) in a simple computation to get the fractional part of a monetary value. Maybe someone can comment on this, as especially in the last test case below the results seem very strange to me... The starting

Re: calling scheme procedures by name from C

2009-08-02 Thread Paul Emsley
Richard Shann wrote: SCM proc = gh_str2scm(d-UploadRoutine, strlen(d-UploadRoutine)); // proc = scm_string_to_symbol(d-UploadRoutine); // proc = scm_string_to_symbol( gh_str2scm(d-UploadRoutine, strlen(d-UploadRoutine))); SCM arg1 = gh_str2scm(hello, strlen(hello)); SCM arg2 =

guile and libtool

2009-08-01 Thread Paul Emsley
$ ./configure [snip] checking for lt_dlinit in -lltdl... no configure: error: libltdl not found. See README. I'd like guile to have a libtool argument, say --libtool=DIR that specifies where guile should find ltdl. Is it inelegant to have to fiddle with LIBS environment variable. Would

Re: GNU Guile 1.9.0 released (alpha)

2009-06-22 Thread Paul Emsley
Ludovic Courtès wrote: We are pleased to announce GNU Guile release 1.9.0. I don't think that we thank the guile developers enough on this list. So I for one would like to thank you for your work. I enjoy using Guile, it works nicely in my project and am looking forward to using the new

mod_lisp for apache?

2009-04-13 Thread Paul Emsley
Knowing next to nothing about it, I thought I'd try out using guile with apache/mod_lisp for educational purposes. I can't find documentation/tutorials for this - even the fractal concept page is broken/out of date - however I did find that you can get mod_lisp.xx.c from here:

Re: mod_lisp for apache?

2009-04-13 Thread Paul Emsley
Paul Emsley wrote: Knowing next to nothing about it, I thought I'd try out using guile with apache/mod_lisp for educational purposes. I can't find documentation/tutorials for this - even the fractal concept page is broken/out of date - however I did find that you can get mod_lisp.xx.c

Re: Valgrind warnings with -1.8.6

2009-04-08 Thread Paul Emsley
Ludovic Courtès wrote: Hello, Neil Jerram n...@ossau.uklinux.net writes: That is fundamentally true; however, we have recently addressed some genuine Valgrind warnings in the 1.8.x development branch. These were Helgrind warnings, not Memcheck warnings, right? There's a suppression

Re: Greg testing framework

2009-02-03 Thread Paul Emsley
Ludovic Courtès wrote: Hi, Paul Emsley paul.ems...@bioch.ox.ac.uk writes: However, Greg is great. This is Greg's Home: http://home.gna.org/greg/ I made some fixes that didn't make it into stable release, I get the fixed up Greg from here: http://www.ysbl.york.ac.uk/~emsley/software

guile-dbi for Oracle?

2009-02-03 Thread Paul Emsley
Hi (Linas), A user of my (guile-embedding) program has an Oracle database and asked me if it was possible to interact with it (the database) in interesting ways from my program (i.e. guile really). Is that possible or hopeless? Thanks, Paul.

Re: more debugging info needed.

2009-02-02 Thread Paul Emsley
Neil Jerram wrote: Paul Emsley paul.ems...@bioch.ox.ac.uk writes: I did read the manual. Still I have the same problem, but now it seems clearer to me that I can't catch anything because Greg eats it first. Greg has the unfortunate characteristic of being ungooglable... so I can't

more debugging info needed.

2009-02-01 Thread Paul Emsley
Hi Guilers, I'd like more more debugging info, I currently get something like: Exception: (wrong-type-arg #f Wrong type (expecting ~A): ~S (pair D) (D)) I have (turn-on-debugging) in my begin.grg file. I'd like to see the line number too. Is that possible? Thanks, Paul.

Re: more debugging info needed.

2009-02-01 Thread Paul Emsley
Neil Jerram wrote: Paul Emsley paul.ems...@bioch.ox.ac.uk writes: Hi Guilers, I'd like more more debugging info, I currently get something like: Exception: (wrong-type-arg #f Wrong type (expecting ~A): ~S (pair D) (D)) I have (turn-on-debugging) in my begin.grg file. I'd like to see

Re: X11 bindings and shell bindings

2008-09-18 Thread Paul Emsley
Ishan Arora wrote: Hi, Is there a procedure to get mouse position. I guess there may be a way via X11, but it is not clear to me. What you might want to be doing is knowing the coordinates of a click in a canvas, which is not the same thing (and easier). And is there a procedure to

Re: scheme - (X)HTML

2008-03-31 Thread Paul Emsley
Julian Graham wrote: On Tue, Mar 25, 2008 at 3:37 PM, Paul Emsley [EMAIL PROTECTED] wrote: Dear Guilers, I have in mind to write a little script that makes a web page about the state of various files. I'd like to use some schemey way of doing this. s-expression - HTML perhaps

scheme - (X)HTML

2008-03-25 Thread Paul Emsley
Dear Guilers, I have in mind to write a little script that makes a web page about the state of various files. I'd like to use some schemey way of doing this. s-expression - HTML perhaps. What is the thinking guile-user's way of approaching this? Cheers, Paul.

guile and XML (mixp)

2006-11-22 Thread Paul Emsley
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 ...): /xxx/share/guile/1.6/ice-9/syncase.scm:130:16: invalid

Re: [ANN] New greg versions

2006-11-09 Thread Paul Emsley
On Mon, 2006-09-25 at 15:30 +0200, Maurizio Boriani wrote: Hi all, new major version of greg is release :) -- The simplicity of the Greg framework makes it easy to write tests for any program, but it was specifically written for use with GNUstep-Guile to permit direct testing of the

Re: compiling 1.8.0

2006-08-07 Thread Paul Emsley
On Sat, 2006-08-05 at 11:08 +0200, Claes Wallin wrote: Paul Emsley wrote: Dear Guile users, I have a problem compiling/running 1.8.0: $ ./configure --prefix=$pfx $ make $ make install $ cd $pfx/bin �$ ./guile Backtrace: In unknown file: ... ?: 123 [list apply

compiling 1.8.0

2006-08-04 Thread Paul Emsley
Dear Guile users, I have a problem compiling/running 1.8.0: $ ./configure --prefix=$pfx $ make $ make install $ cd $pfx/bin ?$ ./guile Backtrace: In unknown file: ... ?: 123 [list apply ... ?: 124* [list lambda (syntmp-dummy-3 syntmp-name-4 syntmp-rules-5) ... ?: 125*

Re: Guile 1.8.0 has been released.

2006-02-24 Thread Paul Emsley
On Tue, 2006-02-21 at 00:03 +0200, Marius Vollmer wrote: We are pleased to announce the release of Guile 1.8.0. It can be found here: ftp://ftp.gnu.org/gnu/guile/guile-1.8.0.tar.gz Dear Marius, Well, I at least think congratulations are in order: Yahoo, hooray, woop! I've been