[xbase] mimic purexbase with interpreter (instead of compiler). [message #667366] |
Thu, 28 April 2011 11:12 |
Christophe Bouhier Messages: 937 Registered: July 2009 |
Senior Member |
|
|
Hi,
I have tried to create a DSL, which would extend xbase and from this
elaborate with xbase as a starting point. I was somehow naive thinking
that the xbase syntax would show up in codeassist for my new editor, but
unfortunately that didn't happen.
A 2nd attempt, was simply to build on top of purexbase which actually
does exactly what I wanted to do in the first attempt, and then use the
XBase interpreter instead of the compiler. So this works, looking at the
purexbase code, I am not sure how this is really different from attempt 1.
Could someone please hint, what purexbase does as to leverage the xbase
in code assist, and also what would be a starting point on replacing
code generation, by the XBaseInterpreter?
thanks Christophe
|
|
|
Re: [xbase] mimic purexbase with interpreter (instead of compiler). [message #667373 is a reply to message #667366] |
Thu, 28 April 2011 11:58 |
Sebastian Zarnekow Messages: 3118 Registered: July 2009 |
Senior Member |
|
|
Hi Christophe,
it's hard to tell what you did in the first place. If you used the
XbaseGeneratorFragment, things should work as expected.
Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
Am 28.04.11 13:12, schrieb Christophe Bouhier:
> Hi,
>
> I have tried to create a DSL, which would extend xbase and from this
> elaborate with xbase as a starting point. I was somehow naive thinking
> that the xbase syntax would show up in codeassist for my new editor, but
> unfortunately that didn't happen.
>
> A 2nd attempt, was simply to build on top of purexbase which actually
> does exactly what I wanted to do in the first attempt, and then use the
> XBase interpreter instead of the compiler. So this works, looking at the
> purexbase code, I am not sure how this is really different from attempt 1.
>
> Could someone please hint, what purexbase does as to leverage the xbase
> in code assist, and also what would be a starting point on replacing
> code generation, by the XBaseInterpreter?
>
> thanks Christophe
|
|
|
|
Powered by
FUDForum. Page generated in 0.03550 seconds