Here's a hosted version for test: http://sheets.alhur.es/test
It has a lot of features (try the edge cases if you feel like and report your experience to me, please), but it also has some bugs with, for example, the click-at-a-cell-to-add-it-as-input-to-the-currently-being-edited-cell. I'm seeking to make this work.
There are some bugs with the formula parsing too, but they are easy to solve, I'm just being lazy. I was using a very nasty raw regex parsing, but I switched to a Jison implementation that is more reliable, I guess. I've never done this before, though.