JavaScript Pig Latin Translator

One of the first projects we were given in my high school computer science class with Jeff Elkner was to write a command-line English to Pig Latin translator in python.  I used this as an excuse to learn GUI development and ended up writing a version with TKinter (python’s Tcl/Tk binding).  I wish I still had the code for that lying around somewhere so I could put up a screen shot.  Needless to say, it was the most hideous GUI application you’d ever seen with tricked out fonts and garish colors.

Over the last eight years I’ve advanced a little in my programming technique.  As my first foray into what I hope is a series of mini web applications I decided to reimplement the Pig Latin Translator in JavaScript.  Here are a few features:

  • A classic console-inspired look and feel
  • Translation to and from Pig Latin
  • Automatic detection of the input language
  • A help screen for the technologically disinclined

Be sure to try it out at http://www.carduner.net/piglatin. Below is a screen shot (always for posterity’s sake).

Pig Latin Translator

About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 75 other followers

%d bloggers like this: