Meta programming, code generation, domain specific language content
-
Create a simple DSL for CSS like syntax for TUIs
Aug 4, 2022 • Nazmul Idris
Procedural macros are a way for you to extend the Rust compiler and provide plugins that you can use to extend the language. They allow to create your own DSL (domain specific language). This article goes into the details of creating a simple DSL to mimic CSS syntax but in Rust, for a TUI app framework. -
Guide to Rust procedural macros
Mar 30, 2022 • Nazmul Idris
Procedural macros are a way for you to extend the Rust compiler and provide plugins that you can use to extend the language. They allow you to reduce the need to write manual boilerplate code, and even allow you to create your own DSL (domain specific language). This article goes into the details of creating the 3 kinds of procedural macros in Rust. -
Advanced guide to creating IntelliJ IDEA plugins
Mar 13, 2021 • Nazmul Idris
Advanced guide to creating JetBrains Platform plugins: VFS, PSI, Kotlin UI DSL, Dialog, Tool window, List, Swing UI and layout managers, ConsoleView, LineMarker. This is a companion of the Introduction to creating IntelliJ IDEA plugins tutorial. -
Annotation Processing in Kotlin and Android
Jul 11, 2020 • Nazmul Idris
Introduction to Kotlin Annotation Processing on Android and how to create a static index of generated classes and interfaces (without using reflection or classgraphs) -
Kotlin DSL Introduction
Apr 5, 2020 • Nazmul Idris
This tutorial is an introduction to Kotlin internal DSLs using examples