other scripting languages?
Moderators: jesterKing, stiv
other scripting languages?
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)?
Re: other scripting languages?
it's not easy to change the scripting language.
search in the source files for "PyObject".
then you see what i mean.
_florian_
search in the source files for "PyObject".
then you see what i mean.
_florian_
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?
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
-
- Posts: 233
- Joined: Sun Oct 13, 2002 7:37 pm
- Location: University of Minnesota (USA)
- Contact:
Not that I'm saying it should be done but I would be for perl as an option to
python.
If anyone is going to seriously tackle this take a look at swig.
http://www.swig.org/
Its basically a tool to help you write wrappers/interfaces for various languages and should simplify the multiple languages problem quite a bit.
python.
If anyone is going to seriously tackle this take a look at swig.
http://www.swig.org/
Its basically a tool to help you write wrappers/interfaces for various languages and should simplify the multiple languages problem quite a bit.