RE: Wrapping dia interfaces to enable in Python
- From: "Ribeiro, Glauber" <Glauber Ribeiro experian com>
- To: <dia-list gnome org>
- Subject: RE: Wrapping dia interfaces to enable in Python
- Date: Fri, 6 Feb 2004 12:06:42 -0600
This is an excellent idea. I'd much rather work in Perl, Scheme or Ruby than Python.
g
-----Original Message-----
From: Carol Farlow Lerche [mailto:cafl msbit com]
Sent: Friday, February 06, 2004 11:58
To: Dia-list gnome org
Subject: Wrapping dia interfaces to enable in Python
This is probably an inappropriate suggestion to people who know way more
than I do about Dia. But I have used SWIG (http://swig.org) very
successfully to provide a complex C library as a Perl-accessible
interface in the past, and it also supports Python. It didn't take very
long to figure out how to use it. You basically feed it the .h files
along with additional guidance as needed, and it emits a shim layer for
mating the (Perl/Tkl/Python/Guile/Java/Ruby/Mzscheme/
PHP/caml/C#/chicken scheme/javascript/eiffel) scripting language to the
underlying C or C++ library.
Of course you have issues with mating the data types, but these can be
worked out pretty easily.
Carol Lerche
_______________________________________________
Dia-list mailing list
Dia-list gnome org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.lysator.liu.se/~alla/dia/faq.html
Main page at http://www.lysator.liu.se/~alla/dia
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]