Open hesoyamhh opened 3 years ago
@hesoyamhh Is this solved? I got same error.
Any updates..? I'm also facing same error.
yep, I'm also getting the same error, I really hope this issue is being looked into.
There seems to be a eval_js6 function which does seem to do the trick.
I am having the same error. Any fixes?
Evaluating functions work fine but as soon as Classes are introduced,
js2py.eval_js
starts giving Error:js2py.internals.simplex.JsException: SyntaxError: Line 2: ClassDeclaration is not supported by ECMA 5.1
simple functions working:
When Classes are executed in
Try It Yourself
area in http://piter.io/projects/js2py, it givesNotImplementedError
ClassDeclaration in python script:
So, Just want to know if this will/can be supported in future releases ?
As, you have already mentioned multiple times that
eval_js6
is extremely slow. For me its stuck since 5 minutes for the Animal class.