RCHQ9+/Go: Difference between revisions
m
Fixed syntax highlighting.
(Go solution) |
m (Fixed syntax highlighting.) |
||
(One intermediate revision by one other user not shown) | |||
Line 1:
{{implementation|HQ9+}}{{collection|RCHQ9+}}
This interpreter accepts HQ9+ source as the first command line argument.
<
import (
Line 71:
var a int
var q = `</
{{out|Example session building and running program}}
<pre>
$ go build HQ9+.go
$ ./HQ9+ H+H
hello, world
hello, world
</pre>
{{out|Another,
<pre>
$ ./HQ9+ Q >q.go
$
hello, world
</pre>
|