xtext Questions

1

Solved

I want to ask the advantages mps and xtext have over each other and the main features when writing a language. I know when working with mps you are directly editing the AST and xtext uses a parser....
Permeable asked 2/8, 2020 at 22:52

2

Solved

I have to test my grammar (written with Xtext). I've see it is possible with use of unit test, but I can't find a good tutorial about it. Can you help me?
Rectum asked 28/11, 2012 at 14:44

1

Solved

Xtext 2.9 changed the way scope providers work and I don't understand how they work now. Let's say I have the following grammar: grammar org.xtext.example.mydsl.MyDsl with org.eclipse.xtext.commo...
Acquainted asked 25/3, 2016 at 16:39

4

Solved

How can I use Xtext to parse languages with semantic whitespace? I'm trying to write a grammar for CoffeeScript and I can't find any good documentation on this.
Arraign asked 23/8, 2011 at 21:33

4

Solved

I have a DSL (implemented with ANTLR) for which I need to write a content assist/autocomplete editor. I've ported a prototype of my grammar to Xtext, and I'm quite happy with the quality of the edi...
Vickivickie asked 20/10, 2011 at 18:49

3

Solved

I get many "Unknown property" warnings in my css files. This might be due to the fact that I have e(fx)clipse 2.0 and the Eclipse Web Developer Tools installed. If I open the css files with the...
Hessney asked 4/8, 2015 at 19:25

4

Solved

I'm puzzled by this error: java.lang.NoClassDefFoundError: junit/framework/TestCase at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:792...
Static asked 16/1, 2014 at 15:27

2

are there any textual, projectional Editors available? How do they work especially regarding updating subtrees? Are there any frameworks available for building them? Do you know any papers descri...
Spiroid asked 1/2, 2012 at 18:39

2

Solved

I'm looking for an example (in XText) of how to implement code completion on an user defined objects members. As far as I can see I need to use IScope, but how all this wires together is unclear. ...
Chirlin asked 17/10, 2011 at 9:37

2

Solved

I have created an Xtext plugin in eclipse. Every time I launch it as an 'Eclipse Application' via the context menu, I get a few moments grace before the new Eclipse instance crashes. I switch back ...
Bulger asked 30/6, 2011 at 15:26

1

Solved

The Xtext documentation, such as here: http://www.eclipse.org/Xtext/documentation.html#syntax just seems explain syntactic predicates by giving one example 'dangling else problem'. My naive interpr...
Offen asked 16/8, 2014 at 16:33

6

Solved

Does anyone have experience working with language workbench tools such as Xtext, Spoofax, and JetBrains' MPS? I'm looking to try one out and am having a hard time finding a good comparison of the d...
Callisthenics asked 7/12, 2010 at 18:33

1

Solved

What are the characteristics, differences and similarities of all these Eclipse-based technologies starting with X (Xtext, Xtend)? Are there any more to learn about?
Chink asked 4/4, 2014 at 14:0

1

I need to get to validate existence of specific file in Xtext project. The file has similar path as validated object but other root directory, for example: $projPath/src/dir1/dir2/ValidatedFile....
Contrail asked 13/3, 2014 at 11:44

1

Solved

I use Xtext plugin for eclipse to define my language and generate some files from it. The project is big and I would like to use multiple generators to generate my files, in addition to default gen...
Slipcase asked 26/2, 2014 at 9:48

1

Solved

I'm pretty new to Xtext, so I don't understand very well all of the associated concepts. There's one question in particular I couldn't find an answer to: how can I manage a grammar for a language w...
Elea asked 30/5, 2013 at 8:17

2

In my current work, I want provide xText editor support ( because of its code completion, syntax high-lighting) to the programmers of my domain specific language. I have written grammar in xText. ...
Lubalubba asked 6/2, 2013 at 22:1

2

I'm working on a Java project in eclipse. Trying to open a file through Ctrl+Mouse click, I got a popup that asked me if I want to add "Xtext nature to my project". I said ok. And now, I tried to p...
Vaughn asked 21/9, 2012 at 10:7

1

Solved

we want to provide the users of our RCP product with a textual editor for our model. Accordingly, we created an EMF model and a XText grammar. The problem is that our RCP app does not the Eclipse I...
Inconsistent asked 19/9, 2011 at 8:23

5

Solved

I'd like to write Java classes in the Xtend language (simply because its way more terse), and have it compile back down into Java classes of which I can use in my Java project. Just like coffeescri...
Webster asked 6/11, 2011 at 11:27

1

Abstract problem description: The way I see it, unparsing means to create a token stream from an AST, which when parsed again produces an equal AST. So parse(unparse(AST)) = AST holds. This is...

2

Solved

I've defined a simple Xtext grammar which looks like this (simplified): grammar org.xtext.example.mydsl.MyDsl with org.eclipse.xtext.common.Terminals generate myDsl "http://www.xtext.org/example/m...
Pose asked 6/9, 2012 at 14:19

2

Solved

I'm using ANTLR for creating a new general purpose programming language and I'm quite happy with it. Due to the fact that I would like to provide good tools for ease the development of programs wr...
Template asked 12/4, 2011 at 8:55

2

Solved

I need to programmatically turn a text conform to an XText grammar into an AST conform to an Ecore meta-model generated by XText from the same grammar. I know XText also generate the Java classes ...
Abracadabra asked 8/8, 2012 at 15:28

1

Solved

I'm using a custom DSL with Xtext grammar. In my workspace there are several projects, one of them is the development relevant project, another one is for testing purposes. In the testing project ...
Minuteman asked 20/7, 2012 at 9:41

© 2022 - 2024 — McMap. All rights reserved.