Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » 'Generate WTEXT artifact' does not end...
'Generate WTEXT artifact' does not end... [message #1852726] Thu, 02 June 2022 09:39 Go to next message
Vincent Chapurlat is currently offline Vincent ChapurlatFriend
Messages: 1
Registered: June 2022
Junior Member
Hi all,
I am a beginner in XTEXT so sorry if my question is out of interest but I am really blocked...

I try to compile the grammar (see attached file) that seems correct.

But the workflow process (accessible from 'generate XTEXT artifacts' menu) doesn't stop (no line at the end of the process with the 'done' message).

Could you help me please?
Many thanks. Vincent
Re: 'Generate WTEXT artifact' does not end... [message #1852735 is a reply to message #1852726] Thu, 02 June 2022 12:52 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14285
Registered: July 2009
Senior Member
This seems to be a bug in serializerfragment2
can you please create a bug in https://github.com/eclipse/xtext-core/

there is something strange about your UnaryExpression
that is not liked


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de

[Updated on: Thu, 02 June 2022 12:59]

Report message to a moderator

Re: 'Generate WTEXT artifact' does not end... [message #1852736 is a reply to message #1852735] Thu, 02 June 2022 13:02 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14285
Registered: July 2009
Senior Member
can you check something like

UnaryExpression:
(operator='+' operand=UnaryExpression
| operator='-' operand=UnaryExpression
| operator='++' operand=UnaryExpression
| operator='--' operand=UnaryExpression
| UnaryExpressionNotPlusMinus
);

UnaryExpressionNotPlusMinus:
{UnaryExpressionNotPlusMinus}
('~' unaryexpression=UnaryExpression
| primary=Primary);


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:Xtext grammar for SQL
Next Topic:How to add a documentation in code-completion?
Goto Forum:
  


Current Time: Thu Jun 30 22:37:54 GMT 2022

Powered by FUDForum. Page generated in 0.05803 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top