Execute SNUSP/D: Difference between revisions
Content added Content deleted
m (Grammar) |
m (→{{header|D}}: bug!) |
||
Line 1: | Line 1: | ||
{{implementation|SNUSP}}{{collection|RCSNUSP}}[[Category:D]] |
{{implementation|SNUSP}}{{collection|RCSNUSP}}[[Category:D]] |
||
{{incorrect|D}} |
|||
<br> |
|||
'''BUG''' This implementation does not correctly run Ian Osgood's 99-bottles SNUSP example (and also some others). |
|||
<br> |
|||
'''To do''' Fix bugs, or re-implement. |
|||
<br><br> |
|||
This implementation includes all '''Bloated SNUSP''' commands, plus a minor custom feature : ''debugInput''. ''debugInput'' is a pattern to setup a predefined string for (I/O) input. That is, just before reading I/O input operation, if this string is not empty yet, a char is ''popped/taken'' from the string, instead of actually reading from I/O. The pattern is '''debug['''<''string''>''']debug'''. Similar to the starting point '$', this pattern is searched inside the source code before execution, but from bottom lines first.<br> <br> |
This implementation includes all '''Bloated SNUSP''' commands, plus a minor custom feature : ''debugInput''. ''debugInput'' is a pattern to setup a predefined string for (I/O) input. That is, just before reading I/O input operation, if this string is not empty yet, a char is ''popped/taken'' from the string, instead of actually reading from I/O. The pattern is '''debug['''<''string''>''']debug'''. Similar to the starting point '$', this pattern is searched inside the source code before execution, but from bottom lines first.<br> <br> |
||
The following are some notes. |
The following are some notes. |