Crosscut

Daily Note - 2025-05-23

Hey, I'm Hanno! These are my daily notes on Crosscut, the programming language I'm creating. If you have any questions, comments, or feedback, please get in touch!

Okay, so at some point, we'll have a short and sweet syntax for (prefix) function application, that gets represented in the syntax tree as an "apply" node. We could also have an equivalent syntax for postfix function application, which compiles to the same syntax node. Maybe using some kind of pipe operator:

argument |> function

Or maybe we take inspiration from what many other languages do, and use .:

argument.function

I'm not sure about that last one though. Let's talk about it tomorrow.

Hey, you! Want to subscribe to my daily notes? Just let me know (maybe include a nice message, if you're up for it), and I'll send you an email every time I post a new one.