Substrate combines the low-level power of C with Racket-style hygienic macros for defining new languages and DSLs. Its compiler is self-hosted, fast, and runs in the browser. (require-unqualified web-ui) (struct state [count i32]) (variant message [increment] [decrement] [reset]) (define (update [s (ptr state)] [m (ptr message)]) (match m [.increment (+= (-> s count) 1)] [.decrement (-= ...