Replies: 18 comments
-
odd... because jep 292 from 2014/11 says:
|
Beta Was this translation helpful? Give feedback.
-
https://kangax.github.io/compat-table/es6/#nashorn10 shows 28%. :-/ |
Beta Was this translation helpful? Give feedback.
-
I wonder if transpiling away the features Nashorn doesn't support is fair game. |
Beta Was this translation helpful? Give feedback.
-
After transpiling away destructuring, spread parameters and classes, the next challenge is:
|
Beta Was this translation helpful? Give feedback.
-
Using GraalVM I get a different failure mode:
|
Beta Was this translation helpful? Give feedback.
-
Aha... graalvm acts more like node if you invoke it as
|
Beta Was this translation helpful? Give feedback.
-
Is Likewise |
Beta Was this translation helpful? Give feedback.
-
https://kangax.github.io/compat-table/es6/#nashorn10 shows 28%. :-/
I think that disqualifies nashorn :(
|
Beta Was this translation helpful? Give feedback.
-
And GraalVM? |
Beta Was this translation helpful? Give feedback.
-
And GraalVM?
do we have any conformance numbers on it?
|
Beta Was this translation helpful? Give feedback.
-
I can look more for conformance numbers, but first, would you please help me understand the specific case of whether |
Beta Was this translation helpful? Give feedback.
-
By the way... 28% was not 28% conformance on test262. It was 28% support for leading-edge features. |
Beta Was this translation helpful? Give feedback.
-
Not clear. It is conformant to prevent proto cycles, but this code should not have tried to create one. So it depends on why it thought it had a proto cycle that needed to be rejected. |
Beta Was this translation helpful? Give feedback.
-
Hi @dckc , at https://github.com/Agoric/Jessie/blob/master/src/bundle/whitelist.js (derived from https://github.com/Agoric/SES/blob/master/src/bundle/whitelist.js ) I list a first attempt at the subset of the SES runtime to be included in Jessie. I picked this to try to find a sweetspot between enabling a standalone implementation of Jessie to be simple vs including enough to keep it pleasant to program in Jessie; especially writing smart contracts. How does this look regarding both goals? |
Beta Was this translation helpful? Give feedback.
-
Looks OK at a glance. (String is missing a Why is Boolean empty? I guess I can't think of anything that I would expect to be there, so I guess that's OK. As to implementing... For writing smart contracts, I'd have to try it to be confident it's good enough. |
Beta Was this translation helpful? Give feedback.
-
Oh!
Any particular reason to leave it out? |
Beta Was this translation helpful? Give feedback.
-
const withPB = {peanutButter: 11, ...noPeanutButter}; |
Beta Was this translation helpful? Give feedback.
-
oh. right. spread. Modern JS is pretty nice :) |
Beta Was this translation helpful? Give feedback.
-
I've got an application where most of the deployment platform is the JVM and I'd like to re-write it in SES. I mentioned this to @erights and he said figuring out how to do SES on the JVM would be useful; for example, for interoperability with RChain.
Legend has it Nashorn on Java 9 has pretty good javascript support. At first it walk balking at
const
but i learned:That got me a little further; in particular, I'm using openjdk 10 via docker:
But no joy:
context: 3ccc45a646d https://github.com/tc39/proposal-realms
p.s. is there a better repo in which to raise this issue? It sorta belongs in
proposal-realms
, but I'm not sure this is tc39 business.Beta Was this translation helpful? Give feedback.
All reactions