The Epsilon website already includes several screencasts and examples that demonstrate the tools and languages it provides. The preview release of the Google App Engine for Java has made it possible to go one step further and allow people to actually write and execute EOL (the core language of Epsilon) programs straight from their browser without needing to download or install anything.
http://www.eclipse.org/gmt/epsilon/live includes an editor where one can write and execute EOL scripts, and a console that captures their output. Apart from playing with the basic features of EOL (variables, control flow structures etc.) one can also query/modify a live EMF model (which for simplicity is Ecore itself). To help you get started, the page also provides a number of ready-to-run scripts as a starting point for further exploration.
April 16, 2009 at 2:12 pm |
Simply amazing. Is it using E4 or straight Eclipse 3.x ? Is syntax coloration done server side or client side ? If client side, is code coloration javascript generated automatically or has been handwritten specifically for the EOL language ?
Regards,
Cédric
April 16, 2009 at 2:59 pm |
Thanks Cédric. The code is sent to a standard Java servlet that uses the Epsilon and EMF jars to execute it, and the results are then returned to the client. Syntax highlighting is done in the client using the CodeMirror Javascript library.
April 16, 2009 at 3:29 pm |
Very nice.
April 16, 2009 at 5:58 pm |
wow, very cool!