General Autotranslation

The beakerx object synchronizes values between languages, including JavaScript, Python, Groovy, and the other JVM languages. BeakerX's current implementation works with metaprogramming and serializing the objects to JSON, so it's not recommended for more than a few MB of data. Using Arrow and shared memory to remove that limitation is on the agenda.

Start in Groovy:

In [ ]: = "a groovy value"

Translate to JavaScript:

In [ ]:
alert(; = [23, 48, 7, "from JS"];

And back to Groovy:

In [ ]:

Or Python:

In [ ]:
from beakerx import beakerx

Or Scala:

In [ ]: