Skip to content

joshdeanmcdonald/as-compound-operator-test

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Compound Operators - old and new.

Little test of compound operators in Flash. In the legacy flash compiler, the left hand side of a compound operator would be executed twice if it was complex. I hoped the new compiler would not do this, but it does. Boo.

For an old delve into the bytecode produced by the legacy compiler, see:

To compile this example with the supplied Rakefile:

  1. make sure you first have Ruby installed and rake.
  2. Edit build.yml and change :legacy_sdk: and :asc2_sdk: to point to wherever your compilers are.

Finally, simple run rake from the commandline and 2 swfs will be compiled and output into the bin folder along with their decompiled abc.

About

A test of AS compound operators compiled with both legacy and ASC2 compilers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 58.1%
  • ActionScript 41.9%