Calling ruby script from python or the other way around?

edited February 2017 in Python scripting
Hi All,
I was wondering if there is any way to call a ruby script from a python script (or vice versa) and even pass some parameters.

Cheers,
Antti

Comments

  • edited November -1

    Hi,

    there is no direct way and I doubt there ever will. These interpreters don't share a common memory management model. That is a basic limitation which essentially renders it impossible to pass objects across the language barrier. KLayout exposes it's internal objects to these different interpreters and handles memory management. Hence it can serve both worlds.

    True language interoperability is (to my knowledge) achieved only within the .NET framework which provides a common model for different languages. But that's a different thing.

    Matthias

Sign In or Register to comment.