There are currently three ways to configure compilation in MAGIC
The magic.flags dynamic vars
Spells
Option maps in magic.api
The divergence is not a result of design but of history. There's no reason not to unify these three under a single system.
magic.flags is the simplest and most idiomatic of them all so should be expanded to trigger spells and populate magic.api option maps as well. The internal implementation of the spells and option maps can remain as implementation details.
There are currently three ways to configure compilation in MAGIC
magic.flags
dynamic varsmagic.api
The divergence is not a result of design but of history. There's no reason not to unify these three under a single system.
magic.flags
is the simplest and most idiomatic of them all so should be expanded to trigger spells and populatemagic.api
option maps as well. The internal implementation of the spells and option maps can remain as implementation details.