apigee / trireme

Embed Node.js inside a Java Virtual Machine
Other
479 stars 55 forks source link

ES version #189

Open talhairfanbentley opened 5 years ago

talhairfanbentley commented 5 years ago

I have coded a sample in node js (es5) and ran it using trireme. when I try to run a javascript code based on es6 or above. it gives different errors. Question: what is the es version supported by trireme.

gbrail commented 5 years ago

Trireme hasn't been updated for a while -- it's using a codebase in the Node 10.32 or something, and that version of Node didn't support ES6 features. Getting Trireme more up to date would be a big project because Rhino, although it supports a lot more of ES6 than it did a while ago, still does not support enough features to run any Node codebase. Right now there are only a few people working on Rhino and they only have time to contribute small things occassionally.

On Mon, Feb 25, 2019 at 10:40 PM talhairfanbentley notifications@github.com wrote:

I have coded a sample in node js (es5) and ran it using trireme. when I try to run a javascript code based on es6 or above. it gives different errors. Question: what is the es version supported by trireme.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/apigee/trireme/issues/189, or mute the thread https://github.com/notifications/unsubscribe-auth/AAf0awBXapLPIeT8WW3TBkp20hyBTMSOks5vRNbKgaJpZM4bRdv6 .