Compile-Time staticIf in Nim: Remove Unused Branches Before Code Generation
Use a Nim macro with untyped parameters to build a compile-time static-if that drops unused branches from the AST.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Use a Nim macro with untyped parameters to build a compile-time static-if that drops unused branches from the AST.