Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
MoScript
< To: MDT
< To: MoDisco
< To: AM3
AM3 |
Download |
Community |
Mailing List • Forum |
Bugzilla |
Opened bugs |
All bugs |
Contribute |
Browse Source |
The MoScript prototype (extending AM3), being developed by the AtlanMod Team, is part of the MoDisco project. It provides a textual domain-specific language for model management.
Contents
Overview
The goal of MoScript is to provide...
Download and install
The MoScript prototype is available from the Eclipse-MDT MoDisco SVN (sources only). The steps to install MoScript are the following:
- Download the Eclipse Modeling Tools from here: Eclipse Modeling Tools (Indigo)
- Install ATL from sources:
- Download the ATL source code project set file (.psf) from here [1].
- Import it into Eclipse with File->Import->Team->Team Project Set.
- Download the MoScript patch for ATL from Bugzilla – Bug 361688.
- Click right click on any ATL plugin project and select Team->Apply Patch ... and select the patch to apply it to ATL.
- Install sublcipse and subversion if you have not done it yet.
- Install AM3 and MoScript from sources:
- Open the SVN perspective by selecting Window -> Open Perspective-> SVN Repository Exploring perspective.
- Add a new repository location by selecting File->New->Repository Location. The required parameters are the followings:
- Browse the just created repository location until /plugins/trunk and checkout all the plugins
Documentation
You can find from this section the documentary resources around the MoScript prototype and underlying approach.
Reference documentation
Examples
MoScript Hello World!
Create a new MoScript project by clicking on File-> New-> Project and selecting the MoScript project type under the AM3 Folder. Then create a MoScript script by clicking in File-> New-> File and give it the name helloWorld.mscr. Fill the file with the following script code:
program helloWorld do{ 'HelloWorld'.debug(); }
Before running MoScript open the AM3 Perspective, so that the AM3 metamodels can be loaded in the EMF registry for being use by MoScript.
Screencasts & slides
To be completed.
Related publications
To be completed.
Use Cases
MoScript comes with a set of use cases showing different possible uses of the MoScript tool in various contexts and for varied purposes (similarly to what is done in the M2M ATL project). A general description is given for each of these use cases, as well as some more precise documentations for many of them. For some, prototypes have already been implemented and are directly downloadable from their respective page.
XXX
To be completed.
YYY
To be completed.
Support
- Newsgroup: eclipse.modisco
- Forum
- Opened bugs
- All bugs
- Submit a new bug
- FAQ
Relationships with other Eclipse Projects
MoScript reuses different existing EMP (Eclipse Modeling Project) projects: To be completed.