edit sample file
Hi,
Asked by ram on 12 May 2014 at 07:12
i’am new to SpooFax & created spoofax project in eclipse(JUNO) by following http://strategoxt.org/Spoofax/Tour ,on creation of spoofax project, it generated many files and while i try to modify myLang.sdf (myLaung is the project name) and build my changes are gone,i.e my changes are overridden on build with actual sample file content ,can any one help me on this,am i doing right thing? is there any thing else i need to do ?
thanks in advance
ram
3 Answers
Hey ram,
Welcome to the Spoofax community.
This tour is a little outdated. Sdf has been replaced by sdf3, and the sdf gets generated from the sdf3 specification.
Documentation on sdf3 can be found here: https://github.com/metaborg/doc/blob/master/meta-languages/sdf3/SDF3.mdThe closest thing to an up to date tour are our compiler construction assignments. It guides you through creating a syntax, type checker and compiler for MiniJava (a subset of Java). The assignments can be found here: https://github.com/guwac/compiler-construction
If you have more questions you can find us on the #spoofax channel on IRC freenode.
Greetings,
Answered by Daco Harkes on 12 May 2014 at 14:02
Daco
You can also follow the instructions for our hands-on session at Code Generation 2014.
Answered by Guido Wachsmuth on 12 May 2014 at 14:29
Thank you very much Daco
Answered by ram on 12 May 2014 at 14:42