On 18 April 2013 08:58, Sabhya Kaushal <sabhya007kaus...@gmail.com> wrote:

>
> But in the meantime, i have made some progress, thought you would like to
> know:
>
> 1. designed two domain specific languages using XText technology. Though
> not that full fledged, sophisticated and complex, but they definitely are
> in a working condition.
>
>
could you make this public, somehow?  For example, start a new github
project and commit your work, eg as simple markdown.


2. reading the XText manual provided by itemis, the developers of the
> technology, and the results are quite positive.
>

It would be good if you could provide a reference to the documents you are
referring to.

In replying to your email I've just done a bit of browsing to learn about
the difference between XText and XTend.  The hello world video at [1] on
XTend is useful, as is the page on the XTend syntax at [2].  For the Isis
DSL I'd be looking for a similar degree of interoperability with Java, but
going beyond what XTend does, especially with regard to its @Property
annotation.

A bit more googling led me to the "domain model" example for XText [3], and
some pages showing how to extend this [4,5,6].  This looks like the obvious
way to go, to me.






>
> 3. made myself somewhat familiar with the ecore architecture.
>
>
Can you explain how this relates back to XTend?  I get the impression that
XTend generates ecore artifacts?




> 4. designing of literals, grammar, literal constructs, setting up
> validations in the java validation files, using the user interface as the
> editor of the developed language, and actually developing the language
> using the constructs: this all I am sure i have understood.
>
>
Again, it would be good to see this online somewhere, either as markdown or
as source files.




> this has been my homework. my next course of action is the development of a
> more detailed grammar and conditionality based language. will send you the
> proposal shortly.
>

XText should give us a text editor and the compiler stuff integrated into
Eclipse for free.  Having not used XText myself, it'll be hard to judge
whether this is a very easy project, or a difficult one.  But in case of
the former, it'd be good for the proposal to have some additional optional
elements.

I did in fact start (though never really complete) some Eclipse views; the
code is all up on github [7].  You can see there's a bunch of views that it
provides.  Ideally these should be read-write.




>
> also, it would be very helpful if you let me know about what i should be
> proceeding with next. Hope i am not late in communicating,.
>

I think the next step is to start developing your proposal.  There are a
good few examples on the web.  I suggest you add that to your github
project too.

I'm happy to review it.  I'll ask if Maurizio (who has some language
experience) will lend a hand reviewing it too).

Cheers
Dan




>
> regards,
> Sabhya Kaushal
>
>
>
[1] http://vimeo.com/39819317 (hello world for xtext)
[2] http://www.eclipse.org/xtend/documentation.html
[3] http://www.eclipse.org/Xtext/documentation.html#DomainModelWalkThrough
[4] http://www.eclipse.org/Xtext/documentation.html#DomainmodelNextSteps
[5] http://www.eclipse.org/Xtext/documentation.html#JvmDomainmodel
[6] http://www.eclipse.org/Xtext/documentation.html#Xbase
[7] https://github.com/danhaywood/apache-isis-ide

Reply via email to