i maeked u a shell
(alternative title: Too Much Time on My Hands, which goes rather nicely with my last Perl 6 post).
So, in the beginning there was lolcats, then there was lolcode, then there was lolsql (jnthn even wrote a parser for it!) and then I took the joke too far and started lolsh, the lol Shell, in Perl 6.
It is very simple; it mimics bash’s UI as closely as possible, waits for input, and if the command entered is known it qqx’s the real-world equivalent.
carlin@cerberus:~$ cd Applications/rakudo
WTF?? I NO KNOE WUT U MEEN
carlin@cerberus:~$ CHANGEDUH Applications/rakudo
carlin@cerberus:~/Applications/rakudo$ perl Configure.pl
WTF?? I NO KNOE WUT U MEEN
carlin@cerberus:~/Applications/rakudo$ PURL Configure.pl
Reading configuration information from parrot_config …
Verifying Parrot installation…
carlin@cerberus:~/Applications/rakudo$ sudo make install
WTF?? I NO KNOE WUT U MEEN
carlin@cerberus:~/Applications/rakudo$ ICANHAZROOT MAEK install
[sudo] password for carlin:
/usr/bin/bin/parrot /usr/bin/lib/parrot/1.7.0-devel/library/PGE/Perl6Grammar.pbc \
…
Hopefully someone has a “so that’s how you do …” moment while looking at this so that writing it was justified



November 10th, 2009 at 3:23 am -
[...] This post was mentioned on Twitter by Aaron Bassett, perlbuzz. perlbuzz said: I maeked u a shell: lolshell, written in Perl 6 http://bit.ly/1nZdSQ [...]
December 4th, 2009 at 7:14 am -
That’s sick.
Not sure if ’sick eq awesome;’ or ’sick eq institutionalize();
-Waldo