hobbyist programming language design

@aparrish@friend.camp

Content warning: hobbyist programming language design

so right now my little stack-based language for the game boy (inchl) has no concept of "function": there are only labels, which you can jump to or call (call puts the PC on the call stack so you can ret later). this is nice because it's conceptually simple and it maps directly to the transpiled output (rgbds assembly). BUT having "functions" as a separate syntactic thing would open up some neat possibilities, like static stack effect checking and inlining