Nicolas Stucki - Implementing a Macro

Просмотров: 1, 792   |   Загружено: 2 год.
icon
Scala Days Conferences
icon
41
icon
Скачать
iconПодробнее о видео
In this talk, we will walk through the implementation of a macro, exploring the metaprogramming API and how to use it. It will cover inline macros, the use of quotes to construct and pattern-match on expressions, and the use of reflection to enhance the expressiveness of the macro.

The code we will explore will contain string interpolator macros to construct and deconstruct a JSON object representation. The macro will leverage the Selectable trait in combination with refinement types to encode the object schema.

Похожие видео

Добавлено: 55 год.
Добавил:
  © 2019-2021
  Nicolas Stucki - Implementing a Macro - RusLar.Me