RCHQ9+/Go: Difference between revisions

m
Fixed syntax highlighting.
m (Update example session for current go tooling. (Remarkably, the source code does not need an update. It was posted in 2011, pre-Go 1.0, and still compiles and runs just fine today with the most recent version of Go.))
m (Fixed syntax highlighting.)
 
Line 1:
{{implementation|HQ9+}}{{collection|RCHQ9+}}
This interpreter accepts HQ9+ source as the first command line argument.
<langsyntaxhighlight lang="go">package main
 
import (
Line 71:
 
var a int
var q = `</langsyntaxhighlight>
{{out|Example session building and running program}}
<pre>
9,476

edits