Just a couple of points; as my only experience with programming is a course in BASIC that I took 40 years ago, I can't offer any deeper thoughts:alice wrote: ↑Sun Jan 26, 2025 2:22 pm What forms of words would be used? For example, in German, for "print" would you say "drück" or "drücken Sie", or even "drückt"? And would Identifiers which were Nouns all have Capital letters? Taking this a bit further, would you need to use the accusative case for arguments to functions ("calcula(rationem)")?
1. "print" is drucken; drücken means "press".
2. For commands you'd probably use the infinitive; it's the normal approach if you give commands in the abstract, like on signage, and it's also frequently used to indicate steps of action in instruction manuals, cook books, etc. It avoids the issue of being overly formal or informal due to not knowing the status of the people you address. It's also the approach used for actions on computer menus.
3. Although German has an accusative, it's distinguished from the nominative on nouns only for a group of male nouns, in the singular (type Riese / Riesen). As long as articles or demonstrative pronouns don't come into play, it's possible that even German programmers coming up with a programming language in a vacuum would ignore the distinction.