elabs/serenade.js — pull request #41 by ewollesen (2012-05-30 19:50:40+00:00)
Title: Add 'else' and 'else if' statements

What do you think of these two commits?

I took a page from coffee-script's book, and used their rewriter to help simplify the grammar for adding an else clause.

The else if clause I'm not even sure is really necessary, it's kind of awkward in a logic-less setup, but it seemed good to have for completeness, plus it was easy.

Comments welcome,

e.