<l:for names="_, code" in="ipairs(before)">${code}</l:for>
<l:for names="_, mac" in="ipairs(macro)">
\begingroup\immediate\write\texdefoutput{\expandafter\string\csname ${mac}\endcsname=}\expandafter\endgroup
<l:if cond="value">
\immediate\write\texdefoutput{\expandafter\the\csname ${mac}\endcsname}
<l:else/>
\expandafter\immediate\expandafter\write\expandafter\texdefoutput\expandafter{\expandafter\meaning\csname ${mac}\endcsname}
</l:if>
</l:for>
<l:for names="_, code" in="ipairs(after)">${code}</l:for>