[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gEDA-dev: SoC Hopeful
On Mon, 19 Mar 2007, Peter Clifton wrote:
> On Mon, 2007-03-19 at 08:24 +0530, C P Tarun wrote:
> [snip]
>
>> I suggest that from Day 1 itself, we decide to build not just these features
>> into gschem or elsewhere, but also build a Perl-callable library to access
>> this database, read from it, write to it, etc. With such a library
>> being included
>> in the core source base of geda, future tool writing will become hugely simpler.
>
> "C" Libraries are perl-callable aren't they? I Presume there must be a
> way to write a language binding for a "C" API.
[ chop! ]
Yeah, I was thinking about this issue this morning. I don't support a
separate Perl parser because it's too easy for it to get out of sync
if the developer drops support for it. Rather, I agree with Peter
that the existing C language parser should export bindings to external
programs written in Perl, Python, Ruby, TCL, Java, whatever.
Note that a *published* API of functions exported by the parser would
fit nicely into the proposed clean-up of libgeda which Peter and
Peter have been pushing recently. Moreover, I see that such a beast
would fulfill this nice goal:
>> Such a library to read and write these file
>> formats would dramatically reduce the activation energy hump to write
>> a rich set of tools for all of us.
Indeed.
Stuart
_______________________________________________
geda-dev mailing list
geda-dev@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev