Introduction to expression languages in Xtext

Session details
Status: 
Accepted
Session Type: 
Experience level: 
Intermediate

Embedding support for expressions into Xtext based languages has become easy when Xbase is chosen as base language. However, deriving a language from Xbase implies the usage of a Java based type system with dependencies on JDT. For language implementations that need to be independent from Java or that should have a different type system it is required to embed an own expression language.

This session will explain the typical pattern for grammars with expression support. Attendees will gain some insight in the related topics of AST rewriting, left factoring, rule precedence and associativity, the usage of syntactic predicates and type system implementation.

The talk is a revised version of the talk given at Xtext Summit 2017 in Toulouse.

Schedule info
Session Time Slot(s): 
Tuesday, October 24, 2017 - 14:30 to 15:05

Our Sponsors

For information about becoming a sponsor, please visit the EclipseCon Europe 2017 sponsor prospectus page.

Elite Dual ECE/OSGi CE

Premium

Basic

Club ECE Sponsor

IoT Theme Day

Project Quality Day

Smart Home Day

Media

EclipseCon Support Other Events

Our Other Events

Eclipse events are hosted all over the world!

  • Foss4G NA 2018
  • Eclipsecon France 2018