Categories
Filtering:
Beginners x
Episode #20 –
Aug 09, 2013
Embedded DSL with Xtend
Learn, how to create your own embedded DSL with Xtend. I will demonstrate, how to engage named parameters and even how to do a custom syntax highlighting.
Watch Episode
(14 minutes, 1 comment)
Episode #19 –
Jul 09, 2013
Xbase's new JvmUnknownTypeReference
New nice little feature of the Xtext 2.4 is the use of JvmUnknownTypeReference instead of the 'null' to represent references to missing types. In this episode, you will see the differences between Xtext 2.3 and Xtext 2.4 in creation and use of type references.
Watch Episode
(7 minutes, 0 comments)
Episode #17 –
Mar 27, 2013
Restricting Scope
Learn how to explicitly and implicitly restrict a scope of an object for a single reference. We will override AbstractDeclarativeScopeProvider reducing the default scope explicitly. Then we will revert changes, add validator and modify content assistant to achieve even better results reducing the default scope implicitly.
Watch Episode
(8 minutes, 5 comments)
Episode #15 –
Dec 11, 2012
Output Configurations
In this episode I demonstrate, how to create multiple output configurations (also called outlets) with different default settings and use it within an IGenerator implementation.
Watch Episode
(8 minutes, 8 comments)
Episode #14 –
Nov 10, 2012
Model Inferrer & Scripting Language
In this episode I will show you the first most simple language out of the 7 Languages For The JVM - the Scripting Language. The main focus will be on the ModelInferrer.
Watch Episode
(11 minutes, 0 comments)
Episode #13 –
Oct 21, 2012
JMockit-Xtend
JMockit-Xtend provides a collection of the extension and helper methods to integrate the popular java mocking framework JMockit with Xtend. In this episode I show how to setup a simple java project with Xtend/JMockit and how to test-drive a simple command-line application mocking system methods.
Watch Episode
(12 minutes, -3 comments)
Episode #10 –
Aug 20, 2012
Xtend Control Flow
Xtend comes with two new cool control flow features: dispatch and switch. Here I show how to use them to improve the coding.
Watch Episode
(12 minutes, 0 comments)
Episode #8 –
Jul 30, 2012
7 Languages For The JVM
Learn Xtext by example with the 7 new languages/DSLs. Demonstrated features: different grammers, inferrers, xbase integrations, validations, editor enhancements and many more.
Watch Episode
(6 minutes, -1 comments)
Episode #7 –
Jul 22, 2012
Template Expressions
Template expressions or rich strings provide a convenient way to generate a code snippets. Features: multi-line strings, guillemets based placeholders, conditions, iterations over collections, smart indentation and comments.
Watch Episode
(14 minutes, 0 comments)
Episode #6 –
Jul 08, 2012
Xbase Number Literals
This episode shows, how to significantly simplify java BigDecimal expressions using the Xbase operator overloading together with the "bd" number literal.
Watch Episode
(6 minutes, 0 comments)