|Arithmetics Example [message #910803]
||Mon, 10 September 2012 12:15
| Ambreen Hussain
Registered: September 2012
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
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.
[Updated on: Mon, 10 September 2012 12:17]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.03255 seconds