4 ms·
Sweet. How do you do I make it so not every Joe can hack the sheet?
by justinwi 13y ago
Sweet. How do you do I make it so not every Joe can hack the sheet?
- deleted 13y ago[deleted]
- joshribakoff 13y agoYou'd have to parse the cells as some sort of DSL that only allows mathematical tokens, as opposed to eval which allows access to the full arsenal of the JS language. But I think excel is Turing complete
- wwweston 13y agoBrings up the interesting question -- I wonder what turing-complete DSLs have drop-in JS libraries you could use to replace the call to "eval" here.
- icebraining 13y agohttp://nayuki.eigenstate.org/res/brainfuck-interpreter-javascript.js http://nayuki.eigenstate.org/res/brainfuck-interpreter-javas...