Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
justinwi
· 13y ago · 0 comments
Sweet. How do you do I make it so not every Joe can hack the sheet?
Comments
[–]
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 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.
[–]
icebraining
13y ago
http://nayuki.eigenstate.org/res/brainfuck-interpreter-javas...