Dec 9, 2009
Parrot is more than just PIR and PASM. I’m not talking about the ability to use languages like Rakudo written for the Parrot virtual machine. I am also not talking about the ability to write your own language. Both of those are quite nifty, of course. It is fair to say that those two items are probably why you are experimenting with Parrot in the first place. However, the Parrot distribution also ships with an extra language: NQP.
Oct 2, 2009(Updated Apr 12, 2011)
This is part 6 of Parrot Babysteps, my ongoing Parrot PIR tutorial.
This one’s a bit more bloggy than the earlier steps, but that’s just the mood I was in when writing it. You can ignore the commentary and focus on the code if that’s your preference.
Sep 17, 2009(Updated Jul 21, 2010)
This is part 4 of Parrot Babysteps, my ongoing Parrot PIR tutorial.
Jul 11, 2009Parrot is a virtual machine that provides the base for Rakudo and a large number of other languages. I honestly can’t tell you what its virtues are compared to other virtual machines, because I’m just not that well informed. I have been exploring PIR, the Parrot Intermediate Representation language. It’s a lot more low level than what I’m used to, but it is still a lot of fun to play with.
Jul 11, 2009(Updated Jul 11, 2009)
Nice work! You have begun to learn Perl by writing a complete program which gets input from a user and prints output including a modified version of their input. Yes, there is much more to learn, but you have dipped your toes into the pool. Now you can go out there and start learning about the huge and wild world of Perl programming!
Jul 11, 2009(Updated Sep 8, 2010)
This page once contained many links to Perl 6 information as the design notes were being assembled for the newest revision of this language. Those links are painfully out of date now. I’ll streamline instead with a few core ideas:
Jul 2, 2009(Updated Mar 27, 2015)
Jun 12, 2009
I had to focus my efforts last time on restoring the original functionality of my Python Blogger script. That’s out of the way. I can now start looking at enhancements. The first annoyance - of many - is the fact that Blogger connection settings are hard-coded into the script. Do you want to post to a different blog? That’s going to require editing the source.
Jun 9, 2009(Updated Jun 12, 2009)
I wrote a post a while back about using Python to write Blogspot posts from the command line. It took me about two weeks to completely forget about it. Still, it’s one of the few posts on this blog that gets regular visits, and the code … well, the code is not great. It was a fair effort, but it didn’t even accomplish the things I had initially set out to do. Account information is hard-coded into the code, for example. I also blundered along haphazardly with parsing metadata information myself despite the fact that Python Markdown has an extension which is perfectly capable of handling metadata. Well, let’s look at that code again.
May 5, 2009(Updated Jul 11, 2009)
Having a program that displays the exact same message every time you run is nice when it comes to being consistent, but not so entertaining as a program. “What does it do?” “It prints out my name.” “Oh.” Let’s make things a little more interesting. We could change the value of
$namein the code, but it might be a little tiresome to do this before showing it to each new person. How about making the program ask for a name? User interaction - a neat idea.