Introducing: Brainf*ck IDE - a TUI-based IDE for writing and running brainf*ck, built in C using PDCurses.
The IDE has a panelized layout: code editor on the left, output on the right, and a live tape viewer along the bottom so you can actually watch memory change in real time while writing code!
The screenshot is mocked up manually for now, the code for drawing doesn’t exist yet 😅
Whats already started
So far I’ve got the interpreter written and a few basic rendering steps working, including the top menubar.
How it works
The brainf*ck interpreter is actually really simple: you need a loop to iterate through a program buffer, then check for any “special” chars like <, +, … and then just increment/decrement values or do some simple logic depending on which char it is.
Next, I’ll try to do the panel borders and some panel setup.
Looking forward to how much stuff will break! :)
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.