
\catcode`\{=1 \catcode`\}=2
\def\fmtname{minim-mp}
\def\fmtversion{2024/1.6}

\input minim.ini

\toksapp\everyjob{%
    \message{This is the minim metapost processor.}\relax
    \directlua {require('minim-mp').on_line = true}%
    \newmetapostinstance[jobname="\jobname", mathmode="scaled"]\MP
    \runmetapost\MP{input "\jobname";}%
    \directlua {require('minim-mp').shipout(\the\MP)}%
    \closemetapostinstance\MP
    \bye}

\dump

