Execute SNUSP/Go: Difference between revisions

m
Fixed syntax highlighting.
(Go solution)
 
m (Fixed syntax highlighting.)
 
(2 intermediate revisions by 2 users not shown)
Line 1:
{{implementation|SNUSP}}{{collection|RCSNUSP}}
Only Core SNUSP today. Fixed size data store, no bounds checking.
<langsyntaxhighlight lang="go">package main
 
import (
Line 32:
 
// make 2 dimensional instruction store, declare instruction pointers
is := strings.Split(raw, "\n", -1)
var ipr, ipc int
 
Line 92:
step()
}
}</langsyntaxhighlight>
Output:
<pre>
9,476

edits