You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Codegen is a useful feature in any language, and also an obvious footgun.
Extract macros into a language-level feature that allows templates to intersperse AST, FSM transitions, data, and more into code. This is the most flexible and hardest to prototype.
Allow us to yield to a function, where the function executes and can terminate, but is expanded into FSM generation. This is a more structured approach to the above, but fits a narrow usecase.
Require macros be expanded into their own entities and interfaced with. This probably doesn't fit all usecases either.
The text was updated successfully, but these errors were encountered:
Codegen is a useful feature in any language, and also an obvious footgun.
yield
to a function, where the function executes and can terminate, but is expanded into FSM generation. This is a more structured approach to the above, but fits a narrow usecase.The text was updated successfully, but these errors were encountered: