I've spent the last weekend making the first version of the MoonBit Golem SDK, a library and tool for writing "code-first" agents on the Golem platform.
While doing so I've ran into various problems / had some general thoughts that I'm trying to summarize in this document, with the intention of giving a constructive feedback.
(Note I'm not actively using MoonBit yet, just taking a look every few months)
The new Golem SDKs are fully code-driven, which means we need to capture some information (such as schema and interface) compile time for it to work. In the TS SDK it's done with a ts-morph based preprocessing step, and in the Rust SDK it's based on proc macros.
Based on help I received on Discord, I've created a separate preprocessor step in MoonBit using the moonbitlang/parser and moonbitlang/formatter packages. In this section I've collected some feedback about this part of the experience.