So here's a fully functional implementation of what I call CSX - the JSX equivalent for CoffeeScript. I tried to adhere as much as possible to the syntactical rules of JSX (as opposed to doing possible fancy stuff). First, let me address why I think it theoretically makes sense to include this in CoffeeScript: To implement CSX properly, you need a fully functioning CoffeeScript parser. This is so