Daily Thought - 2024-12-28
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!
Aside from the work on type inference, I've been making changes to the syntax again.
Comments are much better supported now. They were already fully supported in branch bodies. In addition, the parser has been accepting them in front of named functions for a while, but those were just thrown away and not rendered in the debugger. Now they are stored in the syntax tree, as are comments on branches. Although both are still not rendered in the debugger yet (#65, #66).
Comments on named functions and branches are actually associated with that named function or branch in the syntax tree (as opposed to being stored as an independent element). Making that work, while still keeping the language grammar LL(1), required changes, which then triggered further changes, to make things more consistent. I'll talk about that tomorrow.
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.