Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Arithmetics Example(Arithmetics Example shipped with Eclipse Juno)
Arithmetics Example [message #910803] Mon, 10 September 2012 12:15
Ambreen Hussain is currently offline Ambreen Hussain
Messages: 1
Registered: September 2012
Junior Member
Hi There,

Can anyone help me on how to create interpreter for a DSL. In Arithmetics example there is no tutorial given on how interpreter in Java is created for the grammar described in it and how to use this example. I am running the project as new Eclipse application, created java project and added src folder and created file.calc which has code

module simple
def pi: 3.14159265;
pi * 5;

but nothing generates. so please can anybody help me how to work with this example. I have searched on it a lot in forums and internet but nothing is described. I want to create an interpreter for my DSL in SCALA. I got the SCALA IDE for Eclipse 3.7 but cannot find anything which can help regarding this.

Any help will be appreciated.

Best Regards,

[Updated on: Mon, 10 September 2012 12:17]

Report message to a moderator

Previous Topic:How to get class properties, methods, and events
Next Topic:Opening Files
Goto Forum:
  


Current Time: Tue Sep 16 11:30:46 GMT 2014

Powered by FUDForum. Page generated in 0.09320 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software