Daily Thought - 2024-09-21
Hey, I'm Hanno! These are my daily thoughts on Crosscut, the programming language I'm creating. If you have any questions, comments, or feedback, please get in touch!
This thought was published before Crosscut was called Crosscut! If it refers to "Caterpillar", that is the old name, just so you know.
I've been working on the debugger recently, which by extension triggered lots of cleanup all over the codebase.
Support for debugging features has mostly moved out of the runtime. The debugger can send new code there any time (which can include instructions that trigger breakpoints). It turns out, that can get you pretty far in implementing all kinds of debugging stuff, in combination with a few select commands that the runtime responds to.
I've implemented "Step Over" and "Step Out", alongside the previously available "Step In". It works well in basic cases, but overall, it's still pretty buggy. I need to map out what specifically is broken, so I can write tests for that and fix it.
Hey, you! Want to subscribe to my daily thoughts? Just let me know (maybe include a nice message, if you're up for it), and I'll send you an email whenever I post a new one.