[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Denemo-devel] Running Denemo from the tcl interpreter

From: Jeremiah Benham
Subject: Re: [Denemo-devel] Running Denemo from the tcl interpreter
Date: Tue, 19 Aug 2008 00:42:30 -0500

On Mon, 2008-08-18 at 21:40 +0100, Richard Shann wrote:
> On Mon, 2008-08-18 at 20:19 +0200, Nils Gey wrote:
> > > If we have to lose multiple scripting languages I would say that we
> > > should focus on Scheme. I don't know very much scheme at all. Its just
> > > that lilypond already uses it and it is the default language for gnu
> > > projects. 
> > 
> > I still don't know anything about the details but I want to give my word 
> > once more for Ruby because its just a very good language and very powerful 
> > but still easy to learn. 
> I've just taken a quick look at Ruby and it seems to be a interpreted
> language (like Tcl), which is not really what we need: what we need is
> some tool that connects (one or more) scripting languages up to a C
> program. Swig is this - I have run Denemo from a script in Tcl (it could
> have been Ruby) - but what we want to do is run a script from Denemo.
> There appears stuff in guile for doing this, but it will take a bit of
> working through the reference I have found is this:
> this seems to cover our case. (It starts off with the scheme calls
> denemo but seems to go on to denemo calls scheme).

I think that above mentioned link has been the clearest tutorial I have
found so far. Is guile to Lispy for you?

> But it will need working through. I see no friendly swig type offer to
> take an interface file and give you a working system, but I think it is
> all there. We would need to write some output from generate_source.c to
> do the trick.

The generate_source is to create the interface file like
denemointerface.i or denemointerface.h correct?


> Have a look and see what you think.
> Richard
> _______________________________________________
> Denemo-devel mailing list
> address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]