Great stuff. A few things to fix.<p>Like how to add functions etc. This looks promising.
<a href="https://github.com/myliang/x-spreadsheet/blob/master/src/core/formula.js" rel="nofollow">https://github.com/myliang/x-spreadsheet/blob/master/src/cor...</a>
I wrote this many years ago: <a href="https://sheets.alhur.es/" rel="nofollow">https://sheets.alhur.es/</a><p>The source code is somewhere on GitHub, but I don't remember where exactly, I tried so many times to write a good spreadsheet. My final goal was to use them to power-up a structured n-dimensional app for storing any kind of data and visualizing it and doing computations like in a normal free-form spreadsheet.