Steve Lacey. Get yours at flagrantdisregard.com/flickr

Programming Language Fun

| | Comments (1) | TrackBacks (0)

Greg Costik recently posted about some fun programming languages including one who’s syntax is entirely expressed in whitespace

Being a bit of a language geek, my favourite, and the one I always point people toward is SPL, the Shakespeare Programming Language. A good overview is here.

For example, here’s a program to add two numbers (taken from the overview):

Romeo, A character to store the sum.
Juliet, An admirer who helps to calculate the sum.

		Act I: A simple play.

	Scene I: Juliet's conversation with Romeo.

[Enter Romeo and Juliet]

Juliet: Listen to your heart!

Romeo:  You are as beautiful as a sweet red rose.
	Listen to your heart.

Juliet: You are as brave as the sum of me and thyself.
	Open your heart!

[Exeunt]

Wonderful.


0 TrackBacks

Listed below are links to blogs that reference this entry: Programming Language Fun.

TrackBack URL for this entry: http://www.steve-lacey.com/cgi-bin/mt/mt-bar.cgi/820

1 Comments

Robert said:

Hey, I'm an ameture programmer (C++, Java, C#). I've recently run across SPL, and I'm interested in playing around with it, but I can't find a good translator / compiler for windows. Do you have any recomendations or instructions?

Leave a comment

About Me

Steve Lacey, software developer at Facebook, British, married to the lurvely Nabila, dad to the wonderful Julian and Jasmine. Living in Kirkland (near Seattle), WA.


A brief professional bio.


steve@steve-lacey.com
+1 (425) 214-4716

About this Entry

This page contains a single entry by Steve published on June 4, 2006 9:16 AM.

Silicon Valley? Why Not Second Life? was the previous entry in this blog.

Farewell Gig is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Statsorama

  • 1050 posts
  • 1333 comments

Music