question

Junjie Tao avatar image
2 Likes"
Junjie Tao asked Junjie Tao commented

Is it possible to support Python in Flexsim new version?

Flexsim script syntax was more streamlined and intuitive nowadays. However, why reinvent the wheel, not use python as the C++ object' script? Python is more popular, and interact wtih C++ friendly, such as cffi(http://cffi.readthedocs.io/), cython(http://cython.readthedocs.io/en/latest/#) and Boost.Python(http://www.boost.org/)

FlexSim 17.0.0
script
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Matthew Gillespie avatar image Matthew Gillespie ♦♦ commented ·
0 Likes 0 ·

1 Answer

Phil BoBo avatar image
6 Likes"
Phil BoBo answered Junjie Tao commented

In our internal development discussions, we discussed adding support for Python or C#, but we settled on compiling FlexScript to machine code and adding dot syntax for object properties and methods rather than adding a whole new language.

· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Junjie Tao avatar image Junjie Tao commented ·

Awesome! Look forward to support for Python or C#.

0 Likes 0 ·
Ben Wilson avatar image Ben Wilson ♦♦ Junjie Tao commented ·

@Junjie Tao,

"but we settled on... FlexScript ... rather than adding a whole new language"

There is currently no plan for adding Python or C# support.

2 Likes 2 ·
Junjie Tao avatar image Junjie Tao Ben Wilson ♦♦ commented ·

Hahaha, FlexScript is ok.

0 Likes 0 ·