Hi all, I have a question maybe someone here will have an idea.
Let's say I have a library written for Java (specifically Apache JEXL).
We would like to compile this jar to javascript.
Our use case is that we have business expressions written in JEXL (for example if(foo > 5) 'Yes' else 'No; )
and we want to be able to run these expressions also in our client side (written in typescript angular).
unfortunately there isn't a library apache JEXL for javascript (only something else that is not compatible) .
So that's why we want to take the Apache JEXL jar, compile it to Javascript, and use that as a dependency in the client side.
Is it possible using Kotlin?
any other ways you think we can achieve this?
thank you