-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Welcome to the Tigerseye Plug-in Wiki!
The simplest way to try the latest version is to install it via the update site:
https://github.com/stg-tud/tigerseyeplugin-releases/raw/master/latest
To test the prepackaged example languages an exmaple languagetestbench exists. It is hosted on github:
https://github.com/stg-tud/tigerseyeplugin-examples-languagetestbench
can be cloned read-only via
git clone git://github.com/stg-tud/tigerseyeplugin-examples-languagetestbench.git
or downloaded as a zip from the URL
https://github.com/stg-tud/tigerseyeplugin-examples-languagetestbench/zipball/master
and then imported into the workspace.
In order to make a DSL accessible for Tigerseye, in the workspace do the following:
- Create a Tigerseye Project
- Convert the project to a plug-in project. Can be done from the context menu of the project root.
- Add the
de.tud.stg.tigerseye.dslsupport
plug-in as dependency. - Add its
de.tud.stg.tigerseye.dslDefinitions
extension point to your extensions. - Via the extension Point you can add a new
language
. Configure your DSL. It will be available after you perform a classpath update. You can enforce this update by pressing the tigerseye update buttonor it will happen implicitly
after a modification in the Tigerseye -> languages preference page.
Further Wiki pages are listed on the All Pages site.
Some documentation about how to use the plug-in can be found here. The document is not up to date. PopartType has been replaced with DSLMethod, DSL has been replaced by DSLClass, DSLMethod and DSLParameter depending on the annotation location.
If the island grammar and annotation are not specific enough, transformations of DSL program to compilable and executable code can fail. In such cases, the developer needs to debug the transformations. The developer can turn on debugging when starting the TigersEye IDE as an Eclipse Application by setting the System Property as a VM parameter "-Dtigerseye.transformation.debug".
The debug produces for each transformed DSL Program one file for each of the different representations during the build:
- the grammar,
- the AST,
- the ATerm.
The files are written to a folder called '\debugtigerseye' and within the folder the files are contained in the same folder structure as they are in the source folder.