From: Jeff H. <Je...@Je...> - 2020-06-28 21:58:20
|
<html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body> <p>Another idea I have just had and am looking into, is a PARSE stage -- let's use the power of Rexx! A couple of ideas. Very early thinking right now.<br> </p> <ul> <li>Its string argument would be a parse template with variables named $1 up to $9, with each of these put out on a separate output stream.</li> <li>Or if there is a second string, it would be just the primary output. The second string that would be the output template, with $variables. This stage would be a "SPEC substitute"-type stage. I think this would be a cleaner, more Rexxian, interface than SPEC has.</li> </ul> <p>It might look like</p> <p><tt>parse /. $1 . =45 $2 +7/ /'The second word is' $1 'and the value is' $2'.'/</tt></p> <p>Maybe the quote marks will prove to not be necessary.</p> <p>Comments, ideas, criticisms, are all requested.</p> <p>Jeff<br> </p> </body> </html> |