Where Everybody's Crazy

I'm a missionary in Japan. The name of my mission agency is WEC International. That's supposedly Worldwide Evangelisation for Christ, but I think I have a better idea about what it stands for...

2008-01-03

Parrot is really quite wonderful

Since I had all this time on my hands, I thought I'd have a quick look at how Parrot has been getting on in the six years of my absence.

There's been a series of articles on Perlbuzz and other places about how Perl 6 is nearly there, how Perl 6 is already there, how Perl 6 is dead in the water, and so I thought I'd go see for myself. My old SVN login still works; thankfully it looks like none of my original code for Parrot remains though. :)

I've come away thinking that Parrot is hugely important. I also think things have come a heck of a lot further than anyone outside the project could imagine. There's a perl6 make target which builds Perl 6 binary, for heaven's sake, and it runs real live Perl 6 code. It's there, right now. But that's not what excites me.

What excites me is the Parrot Compiler Toolkit.

Around the time I stopped working on Parrot, people were saying that Perl 6 was going to be written in Perl 6, and I was, well, let's say, a little sceptical. But you know what? They've done it. I am astounded. It is lovely.

This afternoon Will Coleda checked in a simple stub implementation of LOLCODE. The implementation consists of three files. The first is the grammar. This is written in Real Life Perl 6 Rules. That was pretty impressive. Then there's the actions file, which builds the Abstract Syntax Tree. This is written in a language called "Not Quite Perl", which is as close to Perl 6 as makes no odds. Finally there's the implementation of the builtins, which is written in Parrot's intermediate language. This is where you implement any custom runtime operations that Parrot doesn't already know about.

I spent two hours this afternoon basically starting from zero knowledge of the Parrot Compiler Toolkit and added a bunch of features to Will's stub, including variable assignment and access. That is astonishing.

The bottom line? The takeaway? It's really, really true. Parrot lets you implement your own languages using Perl 6 rules for the grammar and Perl 6 for the compiler.


Posted at 08:48:29 in technology parrot | # | G | P | 0 Comments
Language
Japanese English
Links

Tags and Tools
« 2008-01 »
S M TWTFS
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31

RSS


I am...

lathos: Heading down to Oookayama. The おおお joke never gets old.


Photoblog

castle1_filtered.jpg

gosanpai_filtered.jpg

ichibangai2_filtered.jpg

machinaga_filtered.jpg

mizu.jpg


Speedblog

http://daiyainn.gooside.com/ # 京都だいや旅館 京へおこしやす

http://www.e-chords.com/guitartab.asp?idmusica=96629&keyb=true # Where Could I go Tab by Ben Harper - E-Chords

http://www.inmamaskitchen.com/RECIPES/RECIPES/Soups/vegetable_stock.html # Moosewood's Vegetable Stock Recipe

http://www.foodnetwork.com/food/recipes/recipe/0,,FOOD_9936_8389,00.html # Good Eats Roast Turkey Recipe: Recipes: Food Network

http://www.reallivepreacher.com/node/203 # You Ain't Jesus, PreacherPart Two: Losing The Language of Love

http://leiterreports.typepad.com/blog/2005/06/95_theses_on_th.html # Leiter Reports: A Philosophy Blog: 95 Theses on the Religious Right

http://cbae.nmsu.edu/~dboje/teaching/338/traits.htm # TRAITS

http://jweb.kokken.go.jp/gitaigo/index.html # 擬音語・擬態語 - 日本語を楽しもう! -

http://www.nanzan-u.ac.jp/SHUBUNKEN/publications/jjrs/jjrs_cumulative_list.htm # Japanese Journal of Religious Studies: Cumulative list of Essays & Book Reviews

http://www.myspace.com/chloecfrancis # www.myspace.com/chloecfrancis

http://www.solar.ifa.hawaii.edu/cgi-bin/StrikeProb?latitude=+35.38&longitude=-136.26&location=Nagahama,+Japan # Tropical Cyclone Strike Probabilities for Nagahama, Japan

http://www.missionjapan.org/mission/jmissionorg.html # Japan Mission Organization List

http://www.aquasapone.com.au/soapmaking/showergel_soap.html # AquaSapone - How to make shower gel from natural handmade soap

http://www.ultimate-guitar.com/tabs/d/danilo_montero/la_unica_razon_crd.htm # La Unica Razon Chords by Danilo Montero @ Ultimate-Guitar.Com

http://kb.mozillazine.org/Synchronizing_Windows_based_PDAs # Synchronizing Windows based PDAs - MozillaZine Knowledge Base

http://www.provider-navi.jp/campaign/gyao-withflets/ # USENインターネット接続サービス GyaO 光|当サイト限定キャンペーン

http://mytown.asahi.com/shiga/ # asahi.com:マイタウン滋賀 - 朝日新聞地域情報

http://news.bbc.co.uk/2/hi/programmes/from_our_own_correspondent/6506915.stm # BBC NEWS | Programmes | From Our Own Correspondent | Japanese men take marriage lessons

http://wiki.clamwin.com/index.php/Thunderbird_Extension # ClamWin Free Antivirus. GNU GPL Free Software Open Source Virus Scanner and Spyware Detector. Free Windows Antivirus and Anti Spyware. Stay Virus and Spyware Free with Free Software.

http://scan.dalo.us/ # Scandalous Software - Mac XML Tools


Musicblog

Blue States – Diamente

John Martyn – Don't Think Twice It's Alight

The Blind Boys of Alabama – Many Rivers to Cross

Powered by Glob!
Search: