Execute HQ9+/Ursala: Difference between revisions
m
Fixed syntax highlighting.
m (Fixed syntax highlighting.) |
|||
(3 intermediate revisions by 3 users not shown) | |||
Line 1:
{{collection|RCHQ9+}}{{implementation|HQ9+}}
In this [[Ursala]] program, there are the following constraints:
* Unrecognized operators or a missing input file cause diagnostic messages.▼
* Since the accumulator is unreadable and has no operational consequences, its value isn't stored.▼
<syntaxhighlight lang="ursala">#import std ▼
▲Unrecognized operators or a missing input file cause diagnostic messages.
▲Since the accumulator is unreadable and has no operational consequences,
▲its value isn't stored. A line break at the end of the file, if any, is ignored.
▲#import std
#import nat
Line 37 ⟶ 34:
{`h: -[Hello, World!]-!,`9: whole_song99!,`+: <>!,`q: ~&l},
% <.'unrecognized operator: '--+ ~&rNC>),
~command.files; ~&itZB?/~&h.contents.&iziyQBLD <'usage: rchq [file]'>!%+-</syntaxhighlight>
|