Book a Demo

Author Topic: which JavaScript spec/engine EASparx is using?  (Read 3701 times)

volenin

  • EA User
  • **
  • Posts: 37
  • Karma: +0/-0
    • View Profile
which JavaScript spec/engine EASparx is using?
« on: May 15, 2013, 02:47:30 am »
Does anyone know which JavaScript engine/spec EA Sparx is using / compliant with? I've just discovered that it does support '__noSuchMethod__' to handle calls to unimplemented functions, which is a mozilla extension and not part of standard JS spec.

Can someone from EA Sparx team confirm? How safe it is to assume that engine implementation won't change in the coming versions of the tool?

Vlad

Heidi V.

  • EA User
  • **
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Re: which JavaScript spec/engine EASparx is using?
« Reply #1 on: July 30, 2015, 06:18:05 pm »
I don't have the answer, but searching for "javascript engine" on the Sparx website (https://duckduckgo.com/?q=%22javascript%20engine%22%20site%3Asparxsystems.com%2Fproducts%2Fea) reveals the following lines from the release history of EA:
  • Javascript engine updated to correct errors some users were experiencing when ending a Javascript session.
  • Improved Javascript engine to better support use of the global Repository as the default scripting object

So it seems that Sparx develops their own Javascript engine.

But that does not answer the question about what specification it is compliant with.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: which JavaScript spec/engine EASparx is using?
« Reply #2 on: July 30, 2015, 06:48:24 pm »
Sparx is very conservative with code changes. So I guess you're quite safe ... most likely.

q.
« Last Edit: July 30, 2015, 06:49:01 pm by qwerty »