Advanced techniques for building Kotlin DSL(s)

Pavlo Stavytskyi
Software Engineer
Lyft

Advanced techniques for building Kotlin DSL(s)

Pavlo Stavytskyi
Software Engineer
Lyft

Advanced techniques for building Kotlin DSL(s)

Pavlo Stavytskyi
Software Engineer
Lyft

Video Infos
Author
Published
Topics
,
Author
Published
How to create Kotlin DSL that looks like the syntax of a programming language? I would like to talk about advanced techniques for creating any kind of Kotlin DSL(s) in this talk. As an example, we will see how to build a DSL that looks like a Starlark programming language, a Python dialect used for writing build scripts for Bazel build system. This DSL is a declarative code generator that builds an abstract syntax tree of a Starlark language and then generates a formatted code based on it. However, all the concepts described in this talk are applicable to any kind of Kotlin DSL(s) including ones for Android projects.

LATEST ANDROID JOBS

update your work life

No results found.

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.

Menu