3 ms·
You'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 lan
by joshribakoff 13y ago
You'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...