Menubar Navigation, Code Running and Output Display works!! 🎉 :)
Today, the IDE ran its first program! (and yes, of course, it was a hello world program)
What changed?
As already mentioned in the last post, I’ve rewritten part of the menubar rendering and also implemented output field rendering. Also, I’ve refactored the run_brainfuck function to be compatible with the UI.
Changes in the run_brainfuck(...) function
Before, it just stubbornly printed to stdout and read from stdin which of course kinda conflicts with the UI. To solve this, I made it write into an output buffer and accept a function pointer for a function that needs to return an int of which char was read in. The actual reading in will be handled by the pointed to function, which will probably be a “Please press a button” popup.
What’s next
Looking forward to getting the tape reel and then popups (including file saving/loading, exit confirm and please press a button) to work!
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.