Nim Expert · Lesson 2

A DSL with macros

Turn a declarative block into code: a small routing table and state machine generated at compile time.

Lessons · Nim Expert · Lesson 2 of 10

A DSL with macros

Turn a declarative block into code: a small routing table and state machine generated at compile time.

Illustration for Nim
Turn a declarative block into code: a small routing table and state machine generated at compile time.