Skip to content
benbjohnson edited this page Dec 20, 2010 · 6 revisions

Overview

Melomel was designed to be lightweight and simple. Only basic object-oriented tasks such as object creation, property mutation and method invocation are allowed.

External Language Integration

The implementation of external languages should be done so that the ActionScript objects can be manipulated seamlessly. For example, in the Ruby implementation of Melomel, the method_missing feature is used so that objects in the Flash virtual machine look and feel exactly like Ruby objects

To set a property, you type:

myFlashObj.myProp = 'foo'

To call a method, you type:

result = myFlashObj.sum(1, 2)

Data Authority

Melomel is not a data transport protocol. Primitive data types are passed back and forth but objects are sent as references. The objects only exist within the Flash virtual machine and only a pointer is sent to the external language to reference it. This makes it so that there are no syncing issues between the external language and the Flash virtual machine.

Coding Standards

Melomel follows the rules of Semantic Versioning and uses asdoc for inline documentation.

Contributors

The following contributors have made Melomel possible:

Clone this wiki locally