Execute SNUSP/D: Difference between revisions

m
Fixed syntax highlighting.
m (Fixed syntax highlighting.)
 
Line 25:
:::==a^A<=cp==B^==<=C^==
::when the code pointer cp heading into A's^, next turn, the code pointer will be in C. if no such ^ in the reverse direction, the code pointer will be in ''a'' next turn.
<langsyntaxhighlight lang="d">module snud ;
private import std.string, std.random ;
 
Line 210:
private char[char] acceptCmd ;
private uint Id = 0 ;
}</langsyntaxhighlight>
Sample SNUSP using a console io :
<langsyntaxhighlight lang="d">module rcsnusp ;
import snud ;
import std.stdio, std.file, std.conv ;
Line 263:
 
return result ;
}</langsyntaxhighlight>
9,482

edits