elabs/serenade.js — pull request #42 by ewollesen (2012-05-30 21:32:43+00:00)
Title: Add 'else' and 'else if' statements

No one is assigned
Edit
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.