Daily Note - 2025-05-22
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!
Function application is quite verbose right now. At some point, I'd like to have a more concise syntax that is both easier to read and to write. Maybe something like this:
function:
argument
The :
would tell the compiler that you want to apply function
to argument
.
If you wrote function
without the :
after it, you would be referring to the
function as a value, maybe to pass it to another function:
higher_order_function:
function
I like this so far. It's clean and simple. And it meshes well with
restricted structural editing: If you type :
, the
compiler knows to create a placeholder node for the argument, which you can then
edit.
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.