Y
Hacker News
new
|
ask
|
show
|
jobs
by
justinwi
4595 days ago
Sweet. How do you do I make it so not every Joe can hack the sheet?
1 comments
joshribakoff
4595 days 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
link
wwweston
4595 days ago
Brings 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.
link
icebraining
4594 days ago
http://nayuki.eigenstate.org/res/brainfuck-interpreter-javas...
link