view bin/hello @ 12326:aeeba6f6a98a draft

<b_jonas> learn ayacc is ais523\'s yacc parser generator implementation, get it from http://nethack4.org/pastebin/ayacc-2020-04.tar.gz or from (darcs clone http://nethack4.org/projects/ayacc) .
author HackEso <hackeso@esolangs.org>
date Wed, 08 Apr 2020 20:25:30 +0000
parents c989a1669243
children
line wrap: on
line source

#!/usr/bin/perl
$c=unpack"C",$ARGV[0];print+($c&1?"H":"h"),"ello",($c&2?"":","),($c&4?" W":" w"),"orld",($c&16?$c&8?",":"!":$c&8?".":""),($c&32?"":"\n");