other scripting languages?

Scripting in Blender with Python, and working on the API

Moderators: jesterKing, stiv

Post Reply
Posts: 1
Joined: Wed Oct 16, 2002 4:40 am

other scripting languages?

Post by rae »

How tied to Python is Blender? How difficult would it be to make it scripting-language-neutral so that people could "plug in" other scripting languages (like Perl or tcl for example)?

Posts: 100
Joined: Wed Oct 16, 2002 5:31 am

Post by jeotero »

with a good blender api, anything can be done :D

Posts: 35
Joined: Wed Oct 16, 2002 10:17 am

Re: other scripting languages?

Post by _florian_ »

it's not easy to change the scripting language.
search in the source files for "PyObject".
then you see what i mean.


Posts: 93
Joined: Sun Sep 29, 2002 3:20 pm

Post by Timothy »

I would think you would want to avoid adding this complexity.

A language like python is pretty easy to learn for any experienced programmer. But implementing several scripting languages, and supporting all of them properly with documentation, and keeping their api's compatible? that sounds like alot of work, perhaps work better spend in other areas of blender?

Posts: 41
Joined: Wed Oct 16, 2002 12:26 pm
Location: Kent, UK

Post by gorgan_almighty »

The Perl interpreter is open-source isn't it?

If so then you would just have to include its source code in the blender source code and write some extra code to envoke it at the right time.

Personally i think python is a much nicer language than Perl though.

Posts: 233
Joined: Sun Oct 13, 2002 7:37 pm
Location: University of Minnesota (USA)

Post by SirDude »

Not that I'm saying it should be done but I would be for perl as an option to

If anyone is going to seriously tackle this take a look at swig.

Its basically a tool to help you write wrappers/interfaces for various languages and should simplify the multiple languages problem quite a bit.

Posts: 15
Joined: Wed Oct 16, 2002 1:51 am

Post by sasKuach »

What's wrong with Python? :?:

Posts: 10
Joined: Tue Oct 15, 2002 11:13 pm
Location: Los Angeles, California, USA

Post by PhaethonH »

sasKuach wrote:What's wrong with Python? :?:
There isn't anything wrong with python per se; I think some people just aren't comfortable/happy with the idea of having only a _single_ extensible language.

Posts: 15
Joined: Wed Oct 16, 2002 1:51 am

Post by sasKuach »

I see your point. The easiest thing I can think of to solve that is to use binary plugins (like texture plugins, for ex) that are compiled from any language the user desires.

Post Reply