xtext Questions
1
Solved
In my current project, I am trying to link the DSL specification written in xtext and code generator written in StringTemplate.
for instance, the syntax of my DSL specification is as follows. I am...
Bentwood asked 6/6, 2012 at 15:30
1
I am developing an xtext plug-in project for an eclipse application for my Bachelor thesis.
I want to do the 'Generate Xtext Artifacts' at runtime with an ant script executing the Mwe2Launcher cla...
2
In our Eclipse RCP application (using Eclipse 3.7) I had overridden WorkbenchWindowAdvisor.postWindowCreate() method, to hide the unwanted Coolbar/Toolbar items like File, Run etc. menus and Run La...
Booklet asked 6/4, 2012 at 11:59
1
Solved
I would like to add syntax highlighting for .less for Aptana Studio 3. I found XText but it only seems to work with Eclipse. Apatana doesn't seem to give too many leads into how to do this on their...
Polymath asked 17/3, 2012 at 17:26
2
Solved
I need a variable that represents an interface. I was wondering if there is a "standard" name for such a variable, like for example the clazz for a Class variable. I was thinking of naming it aInte...
Mcclary asked 20/2, 2012 at 9:8
2
Solved
I'm writing an Eclipse/Xtext plugin for CoffeeScript, and I realized I'll probably need to write a lexer for it by hand. CoffeeScript parser also uses a hand-written lexer to handle indentation and...
2
Solved
I heard that Xtext ultimately uses ANTLR but their grammar specification files have somewhat different formats. So what's the relationship between the two?
2
Solved
Basically I need to implement a full XText editor in an IViewPart. I have most of it working based on the XText Forms Integration project. Unfortunately, this is not a full implementation on an XTe...
Polar asked 23/6, 2011 at 20:59
4
Solved
I'm working on a project in which we are producing a language which compiles to java. The framework we are using (xtext) makes prolific use of boxing in its generated code.
Specifically, if you hav...
Mook asked 11/12, 2011 at 23:9
1
Solved
I want to convert a very simple Antlr grammar to Xtext, so no syntactic predicates, no fancy features of Antlr not provided by Xtext. Consider this grammar
grammar simple; // Antlr3
foo: number+;...
1
Solved
I am writing an Eclipse plugin using Xtext 2. I have provided my own preferences by writing my own RootPreferencePage class:
package org.grammaticalframework.eclipse.ui.editor.preferences;
import ...
Globular asked 1/11, 2011 at 8:50
1
Solved
I'm writing an XText editor, and doing some semantic highlighting. Part of the language I'm parsing refers to files, which should exist in the project. I'd like to highlight based on whether these ...
3
Both of those frameworks deal with meta-model:
XText (Eclipse)
MPS (JetBrain)
Do you have example of practical applications based on meta-model transformation with those tools?
1
Solved
I just came across very nice tool Xtext to create DSL as well as IDE for editing. I did some search on the web and found people saying it does not provide all the features of ANTLR. I am using ANTL...
Biomass asked 5/5, 2011 at 22:1
2
Solved
How is operator precedence implemented in ANTLR?
I'm using the XText/Antlr package at the moment.
Edit:
I did what sepp2k suggested, and operator precedence works now, but stuff like 3 +* also...
Prenotion asked 20/9, 2009 at 18:57
1
Solved
I've been working on an Xtext-based Eclipse plugin for a language we use in-house. This language might have a statement of the form:
run : /some/file/path/foo.txt
... and ultimately I want to pr...
Midday asked 26/4, 2011 at 10:29
1
Solved
I'm new to both Xtext and ANTLR.
I need to translate an ANTLR (.g) grammar into an XTEXT (.xtext) grammar. In the ANTLR grammar there are syntactic predicates which are not supported by Xtext.
Is...
3
Solved
I have used Eclipse Xtext in several projects. I loved the ease of defining a grammar over an Ecore (meta)model and letting everything generated for you including awesome Eclipse plugin editor, but...
Fetching asked 8/4, 2010 at 20:16
3
Solved
I'm currently developing a general-purpose agent-based programming language (its syntaxt will be somewhat inspired by Java, and we are also using object in this language).
Since the beginning of t...
© 2022 - 2024 — McMap. All rights reserved.