Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "ATL/VM Comparison"
< ATL
m |
|||
Line 2: | Line 2: | ||
Note that the recommended VM is [[ATL_VM_Testing|EMFVM]]. | Note that the recommended VM is [[ATL_VM_Testing|EMFVM]]. | ||
RegularVM should only be used when EMFVM does not do what you want (increasingly rare). | RegularVM should only be used when EMFVM does not do what you want (increasingly rare). | ||
− | [[ATL/EMFTVM|EMFTVM]] should only be used when you need the new experimental research features | + | [[ATL/EMFTVM|EMFTVM]] should only be used when you need the new experimental research features. |
This table does not contain all features that are working similarly on all VMs. | This table does not contain all features that are working similarly on all VMs. |
Revision as of 12:20, 23 April 2013
The objective of this page is to gather a list of features that are implemented differently in the three ATL Virtual Machines (VMs). Note that the recommended VM is EMFVM. RegularVM should only be used when EMFVM does not do what you want (increasingly rare). EMFTVM should only be used when you need the new experimental research features.
This table does not contain all features that are working similarly on all VMs.
Feature | RegularVM | EMFVM | EMFTVM |
---|---|---|---|
supercall | yes | no | yes |
superget (e.g. "super.attribute") | no | no | yes |
attribute helper on OclUndefined | no | yes | yes |
debugger | yes | partially (does not stop on errors, does not allow variable inspection) | yes |
.debug(<no argument>) | no | yes | no |
OCL collections | yes, eager | yes, eager | yes, lazy |
Rule inheritance | yes, single | yes, single | yes, multiple (via "-- @extends") |
Method dispatch | virtual | virtual | multiple virtual |
Closures | no | no | yes (but ATL syntax does not support defining Lambda parameters) |
Helper on Collection context | ? | ? | yes, with element type erasure |
Refining mode | In-place | In-place | In-place, without explicit "drop" |