Execute HQ9+/E: Difference between revisions
m
Fixed syntax highlighting.
m (moved RCHQ9+/E to Execute HQ9+/E) |
m (Fixed syntax highlighting.) |
||
Line 6:
* The initial value of the accumulator is unspecified. This implementation has chosen 11472, which is of course the value such that executing the HQ9+ program "HQ9+" will result in the accumulator having a value equal to the length of the program's output.
<br clear=all><
def makeLiteralExpr := <elang:evm.makeLiteralExpr>
def eParser := <elang:syntax.makeEParser>
# the extra $ protects this as an RC example by breaking up the close tag
def `@_<
<http://rosettacode.org/mw/index.php?title=99_Bottles_of_Beer&action=raw>.getText()
def beerProgram := eParser(beerSource)
Line 46:
# the consequences as the beerProgram is incorporated from a wiki source
# over unsecured HTTP.
}</
|