Remix.run Logo
dmit 4 days ago

> Is the suffix pattern based on the pronunciation of the syllable(s) before the suffix?

Careful, this is how you fall down the Are Dependent Types The Answer?? hole.

perching_aix 4 days ago | parent [-]

Not sure what that's supposed to mean, but if Icelandic is anything like my native language in this, then it is indeed a pronunciation based thing. Which should make sense, since languages are (historically) spoken first, written second.

dmit 4 days ago | parent [-]

Heheh, it was mostly a reference to my [and mostly others'!] experiments with encoding human languages in a programming language. There are some pretty neat ideas there to explore, like the difference between Subject-Object-Verb (SOV) and Object-Subject-Verb. Or postfix languages (e.g. Forth) mapping to some human languages.

In this particular example, having a subsequent part of an expression rely on prior parts would usually be accomplished at runtime in most languages. But some (like Idris) might allow you to encode the rules in the type system. Thus the rabbit hole.

perching_aix 4 days ago | parent [-]

Ah okay. That's a journey I'm currently also preparing to embark on, though from the other direction: I'm trying to generate "natural" language from program code. I already know it's pretty hopeless, but increasingly I feel like it's not really a choice anyhow, so I may as well finally have a go at it. Let's see :)

dmit 4 days ago | parent [-]

Godspeed!