User Tools

Site Tools


en:pfw:multiline-comments

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:pfw:multiline-comments [2023-09-04 18:17] – ↷ Seite von pfw:multiline-comments nach en:pfw:multiline-comments verschoben uhoen:pfw:multiline-comments [2024-09-04 14:01] (current) – [Test] willem
Line 136: Line 136:
 <html><h2 style="background-color:yellow">Alternative Implementations</h2></html> <html><h2 style="background-color:yellow">Alternative Implementations</h2></html>
  
-If you face a ressource constraint system you might want to further simplify the definition of ''%%(*%%'' in order to impose fewer requirements on the supporting system. In the above definition there are two required words that might not be supported in a ressource constraint system: ''%%REFILL%%'' and ''%%COMPARE%%''.+If you face a resource constraint system you might want to further simplify the definition of ''%%(*%%'' in order to impose fewer requirements on the supporting system. In the above definition there are two required words that might not be supported in a resource constraint system: ''%%REFILL%%'' and ''%%COMPARE%%''.
  
-''%%REFILL%%'' (or its terminal/command line counterparts ''%%EXPECT%%'', ''%%QUERY%%'' or ''%%ACCEPT%%'') is propably always necessary to keep reading input lines in case ''%%*)%%'' has not yet been found.+''%%REFILL%%'' (or its terminal/command line counterparts ''%%EXPECT%%'', ''%%QUERY%%'' or ''%%ACCEPT%%'') is probably always necessary to keep reading input lines in case ''%%*)%%'' has not yet been found.
  
 The use of ''%%COMPARE%%'' on the other hand can be eliminated as we only want to test for ''%%*)%%'' (and for ''%%(*%%'' in the nesting case). The use of ''%%COMPARE%%'' on the other hand can be eliminated as we only want to test for ''%%*)%%'' (and for ''%%(*%%'' in the nesting case).
Line 160: Line 160:
 </code> </code>
  
-''%%(*%%''\\ +''%%(*%%''\\ 
-a) This simple code was intended for small systems. That's why I avoided the word ''%%COMPARE%%''. Unfortunately, "REFILL" was unavoidable. +a) This simple code was intended for small systems. That's why I avoided the word ''%%COMPARE%%''. Unfortunately, "REFILL" was unavoidable. 
- +  
-b) The delimiter ''%%*)%%'' must be the first word on a line. This is not to keep the code simple or make it faster. I purposely chose this because it is better, it provides a clearly readable layout.\\ +b) The delimiter ''%%*)%%'' must be the first word on a line. This is not to keep the code simple or make it faster. I purposely chose this because it is better, it provides a clearly readable layout.\\ 
-''%%*)%%''+''%%*)%%''
    
  Compare this with:  Compare this with:
  
-''%%(*%%''\\ +''%%(*%%''\\ 
-a) This simple code was intended for small systems. That's why I avoided the word ''%%COMPARE%%''. Unfortunately, "REFILL" was unavoidable. +a) This simple code was intended for small systems. That's why I avoided the word ''%%COMPARE%%''. Unfortunately, "REFILL" was unavoidable. 
- +  
-b) This is not to keep the code simple or make it faster. I purposely chose this because it is better, it provides a clearly readable layout. ''%%*)%%''+b) This is not to keep the code simple or make it faster. I purposely chose this because it is better, it provides a clearly readable layout. ''%%*)%%''
  
 This code has some interesting properties: This code has some interesting properties:
en/pfw/multiline-comments.1693844221.txt.gz · Last modified: 2023-09-04 18:17 by uho