Articles about Xtext

Eclipse LSP4J Is Here!

By | November 12th, 2016|Cloud IDE, DSLs, Eclipse, Language Server, Uncategorized, Xtext|

This week the LSP4J repository finally got created and filled with the initial contributions. LSP4J is a Java binding of Microsoft's Language Server Protocol (LSP) with a Java implementation of the extended JSON RPC v2.0 the LSP is based on. The project aims at simplifying implementation of a LanguageClient (an editor) or a LanguageServer (e.g. a [...]

How to Embed a Monaco Editor in a Browser as a Part of My First Task at TypeFox

By | November 2nd, 2016|Cloud IDE, Eclipse, Language Server, Xtext|

Hi there, this is Akos. I am the new one at TypeFox, and within this post, I would like to describe you what was my first task after joining TypeFox. Namely, how to embed the Monaco Editor in the web browser and how to support a simple expression language from the browser using the [...]

Xtext 2.11 Beta 1 Is Here!

By | October 21st, 2016|Eclipse, Xtext|

The Xtext 2.11 release has been rescheduled for January 24th 2017, as we underestimated the amount of work in front of us and overestimated the amount of time we could spend. Today's beta release is merely a sanity check to ensure that we can still build a complete SDK update site. Don't use it in production, also we [...]

Xtext Core – Less is More

By | August 2nd, 2016|DSLs, Eclipse, Language Server, Xtext|

In this post I want to give a short update of what we've been doing in Xtext and what the future plans are. As you probably know, Xtext has been around for a couple of years growing into a very mature framework for implementing full blown programming languages like Xtend as well as simpler more [...]

Building a VS Code Extension with Xtext and the Language Server Protocol

By | July 27th, 2016|DSLs, Eclipse, Language Server, Xtext|

In the upcoming Version 2.11, Xtext will support the Language Server Protocol defined by Visual Studio Code. This is a very important step, as the protocol is generic and is going to be supported by other editors such as Eclipse or Che as well. In this post I want to give the early adopters among [...]

How And Why Use Xtext Without The IDE

By | March 16th, 2016|DSLs, Eclipse, Xtext|

Xtext is a language development framework that is best known for the rich tool support it gives you for your programming languages. But even if you don't need editing capabilities, Xtext has much more to offer than a simple parser generator like Antlr. In this post I will first describe the aspects and features that [...]

Xtext’s New Generator: Migration

By | February 19th, 2016|Eclipse, Generator, Xtext|

Xtext 2.9 ships with a new generator architecture, which is described in the previous post. Even though there is no immediate urge to migrate an existing language to the new generator infrastructure, here is how to do it. Make sure to keep a copy of your old code in order to safely roll back in [...]

Xtext’s New Generator

By | February 4th, 2016|Eclipse, Generator, Xtext|

Xtext 2.9 adds support for two additional editor platforms: Web-editors and IDEA. It also adds generic build system integration for Maven and for Gradle. As a result the number of generator options has grown a lot. So we took the opportunity to re-implement Xtext's code generator – the one that creates the language infrastructure from the [...]

Tutorial: Embedded Java With Xtext

By | January 24th, 2016|Eclipse, Tutorial, Xtext|

Jbase is a customization of Xbase to handle pure Java expressions and to adhere to the stricter Java type system. Jbase main implementation aspects are: redefines many of the Xbase grammar rules so that they can handle Java expressions (including array access expressions with []) customizes the Xbase compiler to handle additional Java expressions customizes [...]