On Sun, Jun 28, 2020 at 10:48 PM Jairo A. del Rio wrote: > I've read the following is not possible in TeX > > \def#1\macro{blabla#1} > > where arguments come before. The only partial exceptions are commands like > \atop or \over, which are in fact primitives. Is there a way to do this in > ConTeXt? > > you can build a lpeg and parse the your "extended tex" source, obtaining a valid tex source. -- luigi