Project
IntelliJ IDEA
Priority
Normal
Type
Bug
Fix versions
No Fix versions
State
Fixed
Assignee
Maxim Mossienko
Subsystem
No subsystem
Affected versions
No Affected versions
Fixed in build
108.65  
  • Created by   Maxim Mossienko
    5 years ago (13 Feb 2007 01:59)
  • Updated by   root
    2 years ago (17 Jan 2010 20:41)
  • Jira: IDEADEV-14366
    (history, comments)
 
IDEA-37038 ActionScript parsing
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
ActionScript has slightly different syntax than JavaScript so we need to adjust the parsing

Issue was resolved
Comments (9)
 
History
 
Linked Issues (?)
 
Taras Tielkes
  Taras Tielkes
13 Feb 2007 02:16
5 years ago
Maxim Mossienko
  Maxim Mossienko
13 Feb 2007 10:26
4 years ago
I still believe that it is slightly different than ECMAScript Level 4 (JavaScript 2.0)
Taras Tielkes
  Taras Tielkes
13 Feb 2007 14:07
4 years ago
Yes, I think some developers from Abobe indicated that ECMAScript 4 will be fairly close to the current AS3 language. The new cooperation between Mozilla and Adobe increases the chances of that happening.

However, as far as I know there are no published language drafts at the moment, so there is no guarantee.

In addition, implementing an meaningful alternative to the Flex tool might require working with some technologies that are not open/published. My knowledge on this is limited, but I think that binary .swc files (analog of Java JARs) containing compiled code are not specified. (Although there are many tools available these days)
Maxim Mossienko
  Maxim Mossienko
13 Feb 2007 18:46
4 years ago
Taras Tielkes
  Taras Tielkes
13 Feb 2007 19:16
4 years ago
I have not followed the progress of ECMA TC-39/TG-1 for some time, but I think those pages might be quite old.

It may be a good idea to contact Brendan Eich: he might be able to give relevant status/information.
http://www.mozilla.org/projects/tamarin/
Maxim Mossienko
  Maxim Mossienko
13 Feb 2007 22:52
4 years ago
Taras Tielkes
  Taras Tielkes
13 Feb 2007 23:07
4 years ago
Looks like the Actionscript 3 is a subset of the eventual ECMAScript 4. I don't see the "let" keyword or any of the funky array syntax in AS3.

I assume this will be implemented as a separate language, parallel to the current JavaScript language, correct?
Maxim Mossienko
  Maxim Mossienko
13 Feb 2007 23:12
4 years ago
I believe for now that it will be separate JS dialect to reuse as much existing js code as possible
Maxim Mossienko
  Maxim Mossienko
13 Feb 2007 23:40
4 years ago