[Bf-committers] Languages other then python in Blender 2.5?

E. Allen Soard allen at soard-web.com
Fri Feb 13 07:11:14 CET 2009


I don't think which language a script is written in will be a big issue, 
as even now the scripts already shipping with blender have a hash bang 
prompt which tells the interpreter which language it was written in.  
That could be part of the extension specification.  If you write a api 
hook, you need to specify what hash bang prompt to look for.  If you're 
running a preexisting script, it will already be embedded. For those non 
Linux types who don't know what a has bang prompt is,  here's an example 
from one of blender's bundled scripts

#!BPY

-E. Allen Soard

Benjamin Tolputt wrote:
>
> I don't know what the official line is, but I am intending to add Lua
> support to some extent to my build. Shame BGE is such an integral part
> of Blender now, as removing Python completely would be an interesting
> experiment.
>
> On the other hand, having the capability to run multiple scripting
> languages is going to cause issues for the end-user who uses the
> Scripting Window. Having multiple languages is just going to confuse
> people when looking at running a sample script they find online. As much
> as I have reservations about Python, it is the default language now and
> this is not likely to change.
>
>   



More information about the Bf-committers mailing list