Execute HQ9+/Ursala: Difference between revisions

m
Fixed syntax highlighting.
(added Ursala)
m (Fixed syntax highlighting.)
 
(4 intermediate revisions by 4 users not shown)
Line 1:
{{collection|RCHQ9+}}{{implementation|HQ9+}}[[Category:Python]]
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.
its value isn't stored.* A line break at the end of the file, if any, is ignored.
 
<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.
 
=={{header|Ursala}}==
 
<lang Ursala>
#import std
#import nat
Line 37 ⟶ 34:
{`h: -[Hello, World!]-!,`9: whole_song99!,`+: <>!,`q: ~&l},
% <.'unrecognized operator: '--+ ~&rNC>),
~command.files; ~&itZB?/~&h.contents.&ziyQLDiziyQBLD <'usage: rchq [file]'>!%+-</syntaxhighlight>
</lang>
9,476

edits