
\catcode`\{=1 \catcode`\}=2
\def\fmtname{minim-mp}
\def\fmtversion{2021/1.0}

\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

