Hi Dan, As far as I have understood we can use XText to write DSL grammar rules. I went through some XText tutorials and managed to test some code samples in eclipse.
However the problem is, what is the use of Kemble to ISIS? Is it like a programming language written on top of java to represent entities/ Domain objects of ISIS? If the answer is yes, then we have to come up with a well defined grammar rule set. In jira ticket you have given some examples which can get an Idea about that grammar rules. In addition to that is there a specification just like restful objects spec for these grammar rules? And sorry for the late reply. I was extremely busy with my internship project in these days. Thanks Dimuthu On Thu, Mar 13, 2014 at 11:24 PM, Dan Haywood <[email protected]> wrote: > > > > On 13 March 2014 17:38, DImuthu Upeksha <[email protected]> wrote: >> >> Hi Dan, >> I accidentally noticed ISIS is on apache GSoC project list. I went >> through some ideas and found idea [1] quite interesting because it >> includes a lot to learn. If you are ok I would like to give it a try. >> I'm currently doing my internship and it will be finished at the end >> of April. So in these days I don't have much time to dedicate. But >> after April I'll have enough time to dedicate for a GSoC project. > > > no worries. > > >> >> Where can I begin? > > > I strongly think this should be implemented using Eclipse XText / XBase so > that's the place to start. > > XText is the main project for designing the DSL grammar > > XBase is a base-level DSL to inherit from. It is used as the basis of > XTend, which is basically an out-of-the-box enhancement to Java (Java 10, > they call it). > > In our original thoughts we wanted to embed Java (as the method body) within > the DSL, but I think that using XText requires that the method body must be > XBase. I think that's fine, I know that Maurizio thought otherwise. > > This slidedeck (from a few years ago) should help untangle these. > > http://www.slideshare.net/schwurbel/pragmatic-dsl-design-with-xtext-xbase-and-xtend-2 > > > There's also a book that came out n the topic (Packt Publishing) a few > months back. > > > >> >> Is this something like writing a new language? > > > Yes. What's nice about XText/XTend is that it also generates all the > tooling /code completion plugins (for Eclipse). > > >> >> In >> fact what is Kemble and its usage? >> > > Kemble is just a name we gave for this language. It doesn't exist, no one > is using it. > > Why Kemble? Well, it's the name of a village that's close to the source of > the River Thames (= River Isis). "Source of Isis" ... if you get the pun. > > Also, Ceylon (JBoss' language) also uses a (defunct) place name. > > > Yeah, if you want to put a GSOC proposal in, that'd be great... > > Cheers > Dan > > >> >> [1] https://issues.apache.org/jira/browse/ISIS-369 >> >> Thanks >> Dimuthu >> -- >> Regards >> >> W.Dimuthu Upeksha >> Undergraduate >> >> Department of Computer Science And Engineering >> >> University of Moratuwa, Sri Lanka > > -- Regards W.Dimuthu Upeksha Undergraduate Department of Computer Science And Engineering University of Moratuwa, Sri Lanka
