Send Close Add comments: (status displays here)
Got it!  This site uses cookies. You consent to this by clicking on "Got it!" or by continuing to use this website.nbsp; Note: This appears on each machine/browser from which this site is accessed.
String rewriting systems


1. String rewriting systems

2. String rewriting
A string rewriting system is a system in which text get re-written with other text. There are two phases to such a system. Some examples follow.

3. Formatted print

printf(" %d %d", x1, x2);


4. DOS Batch:

   Hardware is %HW%    Hardware is %HW


5. TCC batch:

   Hardware is %[HW]


6. Bash, PHP, PowerShell

   "$varname1"


7. Moniker: (financial printing)

   Here is a word [WORD] that means [MEANS].    Here is a word [WORD] that means [MEANS].    Here is a word [WORD] that means [MEANS].

Recursive monikers.
   [WORD[DIGIT]]


8. PHP:

   <?php ... ?>


9. ASP, ASP.NET

   <% ... %>


10. General text formatting

   Here as a word @WORD that means @MEANS.    Here are requirements for @WORK([A3])


11. C, C++

   #DEFINE XMAX 50


12. Custom markers:
Custom possibilities.
   [ALPHA]    {. .}    (. .)


13. End of page