Book reviews
 
Programming DSLs in Kotlin   

Programming DSLs in Kotlin


Venkat Subramaniam

eBook. Pragmatic Bookshelf 2021-03-23.
ISBN 9781680508277
Buy from Amazon.co.uk







Publisher description

Creating your own domain-specific languages (DSLs) is both challenging and exhilarating. DSLs give users a way to interact with your applications more effectively, and Kotlin is a fantastic language to serve as a host for internal DSLs, because it greatly reduces the pain and effort of design and development. But implementing DSLs on top of Kotlin requires understanding the key strengths of the language and knowing how to apply them appropriately. Learn to avoid the pitfalls and leverage the language while creating your own elegant, fluent, concise, and robust DSLs using Kotlin.Internal DSLs remove the burdens of implementing a full blown language compiler. The host language quickly becomes your ally to creating DSLs, but the syntax you can choose for your DSLs is limited to what the host language allows. You can work around the limitations by tactfully bending the rules and exploiting the language capabilities. Learn the power of Kotlin and ways to design with it, in the context of crafting internal DSLsStart by learning ways to exploit the flexibilities of Kotlin to make your DSLs fluent, expressive, and concise. Then pick up techniques to extend the language with domain specific properties and functions. Quickly move ahead to tie your DSL snippets into the runtime environment and context of execution of your applications. Design to prevent any non-sensical syntax in your DSL that may otherwise be valid in the host language. Finally, learn techniques to gracefully handle errors. Practice using the multiple examples that are included in each chapter.Fire up your editor and follow along each example to become proficient in designing and implementing your own internal DSLs using Kotlin.What You Need:Kotlin version 1.3 or later and your favorite Kotlin IDE or code editor



More books by Venkat Subramaniam

Similar books

Rate the book

Write a review and share your opinion with others. Try to focus on the content of the book. Read our instructions for further information.

Programming DSLs in Kotlin



Your rating:  1 2 3 4 5

Please enter a title for your review (min 2 words):



Type your review in the space below (max 1000 words):



Language of the review: 

Your name (optional):



Your email address (not displayed, only for verification):







Programming DSLs in Kotlin Your review will be displayed within five to seven business days.

Programming DSLs in Kotlin Reviews that doesn't follow our instructions will not be displayed.







Book reviews » Programming DSLs in Kotlin
Programming DSLs in Kotlin
Programming DSLs in Kotlin
  
Categories

Address Books & Journals

Art & Architecture

Biography

Business, Finance & Law

Comics & Graphic Novels

Computers & Internet

Crime, Thrillers & Mystery

Fiction

Food & Drink

Health & Family

History

Home & Garden

Horror

Mind, Body & Spirit

Music, Stage & Screen

Poetry, Drama & Criticism

Reference & Languages

Religion & Spirituality

Science & Nature

Science Fiction & Fantasy

Scientific & Medical

Society & Philosophy

Sports & Hobbies





Book reviews | Help & support | About us


Bokrecensioner Boganmeldelser Bokanmeldelser Kirja-arvostelut Critiques de Livres Buchrezensionen Critica Literaria Book reviews Book reviews Recensioni di Libri Boekrecensies Critica de Libros
Book reviews