Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!mcnc!uvaarpa!mmdf From: eichin@athena.mit.edu (Mark W. Eichin) Newsgroups: comp.lang.perl Subject: JATH vs. JAPH Message-ID: <1991Feb7.033025.18665@uvaarpa.Virginia.EDU> Date: 7 Feb 91 03:30:25 GMT Sender: mmdf@uvaarpa.Virginia.EDU (Uvaarpa Mail System) Reply-To: eichin@athena.mit.edu Organization: The Internet Lines: 19 I found this in the .plan file of Andrew Marc Greene (some may recognize him from BaSiX, a BASIC interpreter which he wrote in TeX). There have been a number of Perl JAPH's showing up in .plan files, and so he countered with this... \let~\catcode~`?`\ \let?\the~`#?~`~~`]?~`~\let]\let~`\.?~`~~`,?~`~~`\%?~`~~`=?~`~]=\def ],\expandafter~`[?~`~][{=%{\message[}~`\$?~`~=${\uccode`'.\uppercase {,=,%,{%'}}}~`*?~`~=*{\advance.by}]#\number~`/?~`~=/{*-1}\newcount. =\-{*-}~`-?~`~]-\-~`^?~`~=^{*1}~`\ ?~`~= {.`\ $}~`@?~`~=@{,.,"#`@^$} .`#*`'$.?~`~0-?~`~$//$^$ .``^$*?~`~$^$.?~`~0-?~`~/$-?~`~^$@*?~`~$ * ?~`~*?~`~*?~`~*?~`~$@-?~`~$ .?~`~0-?~`~-?~`~$.``^$^^$.`<-?~`~*`<$@* ?~`~$*?~`~-`(-`+$%}\batchmode I don't think we can top that. Not even a little. Though it would be kind of neat if someone came up with a TeX interpreter in perl :-) _Mark_ MIT Student Information Processing Board