Timeline for Brainfuck interpreter written in C
Current License: CC BY-SA 4.0
15 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 11, 2019 at 9:36 | answer | added | ljrk | timeline score: 1 | |
Nov 28, 2019 at 15:54 | comment | added | S.S. Anne | You lucky... I asked about mine a while back and I had to have a bounty put on it to get anything. | |
Nov 27, 2019 at 15:17 | comment | added | Alexander | This is pretty good! One recommendation: Wrap your memory and instruction pointer into a "BrainFuckVM" struct. That will tidy that code up, and allow you to use some stronger types signatures on your functions. Plus from there you can get fancy and add snapshotting to save/restore vm state, you can add an "undo" to go back in time in the processing, etc.! | |
Nov 27, 2019 at 9:13 | comment | added | user28434 |
For loops: wouldn't it better to put loop start position in stack on each [ encountered, and on ] check top address of the stack (and on 0 in cell pop the stack)? IMO that will reduce number of traversings in goToLoop functions.
|
|
Nov 26, 2019 at 15:42 | answer | added | Peter - Reinstate Monica | timeline score: 2 | |
Nov 26, 2019 at 14:36 | comment | added | Peter - Reinstate Monica | I'm looking forward to your posts when you have become an experienced C programmer! :-) | |
Nov 26, 2019 at 11:19 | review | Suggested edits | |||
Nov 26, 2019 at 12:42 | |||||
Nov 25, 2019 at 18:44 | answer | added | Eric Lippert | timeline score: 48 | |
Nov 25, 2019 at 18:15 | history | became hot network question | |||
Nov 25, 2019 at 15:00 | history | tweeted | twitter.com/StackCodeReview/status/1198979655736418305 | ||
Nov 25, 2019 at 14:10 | history | edited | Heslacher | CC BY-SA 4.0 |
added 3 characters in body
|
Nov 25, 2019 at 14:05 | history | edited | Ethan Bierlein | CC BY-SA 4.0 |
Minor wording / syntax improvements; tag update
|
Nov 25, 2019 at 13:35 | answer | added | Edward | timeline score: 28 | |
Nov 25, 2019 at 10:10 | review | First posts | |||
Nov 25, 2019 at 12:20 | |||||
Nov 25, 2019 at 10:08 | history | asked | Ghost | CC BY-SA 4.0 |