Re:Making a virtual machine in Google Sheets
by taftster on Wednesday July 05, 2017 @03:43PM
(#14705540)
> "OK, Gimme back my beer, it's done!"
2 hours later. In BF none-the-less. You're my hero, you put me to shame.
Re:Making a virtual machine in Google Sheets
by SonOfLilit on Wednesday July 05, 2017 @04:09PM
(#14705726)
These things are so much easier than they seem. I just did a PyCon IL talk where I livecoded a BF interpreter just so the audience gets a feel for how easy it is. Try sometime :-)
A Brainfk interpreter in pure Google Sheets formulas. I chose BF because of how cool and simple and powerful and turing complete it is and because I have a lot of practice implementing it (Just gave a talk at PyCon IL where I live coded one, https://www.slideshare.net/AurSaraf/virtual-machines-and-bra...).
Of course it would be at least as easy to implement any other virtual machine, you might not need the parentheses matcher which was the biggest challenge and I had to go through a few designs until it worked.