In TeX I can define, say
\def\1#1 is #2.{#1 & is & #2.\\}
and
\def\2#1 has #2.{#1 & has & #2.\\}
with an easy usage:
\1 Jim Jones is a fictional character.
and
\2 Tim Smith has two brothers.
This gives three columns of a tabular: Jim Jones, is, a fictional character. Similarly in the second case.
Can I write a definition depending on, in this case, is/has so I can write
\3 Jim Jones is a fictional character.
and
\3 Tim Smith has two brothers.
obtaing the previous results?
Solutions using Lua or expl3 are OK, but I hope that a pure TeX one is also possible.


\defyou can have only one parameter text (the#1 is #2.and#1 has #2.in your\1and\2respectively). – ShreevatsaR Mar 31 '19 at 03:16\3 The third person singular form of have is hasor\3 Be has is as the third person singular form? What should it produce? ;-) – L. F. Mar 31 '19 at 05:43