From: Paul Emsley <paule@chem.gla.ac.uk>
Subject: Re: guile as extension language
Date: 07 Apr 2002 04:29:14 +0100 [thread overview]
Message-ID: <1018150155.1544.17.camel@maybelline> (raw)
In-Reply-To: <200204062347.g36Nl7l21986@mr-ed.jpl.nasa.gov>
On Sun, 2002-04-07 at 00:47, Matthew R Wette wrote:
> Matthew R Wette writes ...
> >
> > How is Guile intended to be used as an extension language?
> >
> My interest here was in exploring the scope of work required to
> make a Guile extension for Dia (the gnome graphics app).
>
This is not a reply really, more of a me-too.
I have recently written a program in C/C++ using gtk [1] and now want to
type a script (say) (or commands) at the console/terminal. I would like
this to be interpreted by guile but cannot see how since gtk has the
control passed completely to it using gtk_main().
Is scm_init_guile() really the way to do it? I got the impression that
it was not, if I wanted portability (and I do).
I initially thought that that guile + gtk (not guile-gtk) would be
common combination and tried to find examples to see how they did it,
but I could not. Can you recommend anything?
I thought that converting to guile-gtk, but since I was using glade and
gtkglarea, I was a bit nervous about doing that. Should I have been?
Thanks,
Paul.
[1] actually it does some sort of molecular graphics, I wrote about
something like it a few months ago.
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user
next prev parent reply other threads:[~2002-04-07 3:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-06 23:47 guile as extension language Matthew R Wette
2002-04-07 3:29 ` Paul Emsley [this message]
2002-04-07 14:38 ` Neil Jerram
2002-04-08 11:43 ` Bill Schottstaedt
2002-04-16 8:17 ` HELP: crash while using Guile on a Win32 multithreaded development context Daniel CAUNE
2002-04-07 14:24 ` guile as extension language Brett Viren
2002-04-07 14:38 ` Neil Jerram
-- strict thread matches above, loose matches on Subject: below --
2002-04-06 23:33 Matthew R Wette
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1018150155.1544.17.camel@maybelline \
--to=paule@chem.gla.ac.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).