natural-language programming, English vs Flemish 

In the context of function application in natural-language-based programming languages, even in closely-related Indo-European languages like English and Dutch, the word order can be very different:

Maths and programming

A+B; add(A,B)
A-B; subtract(A,B)
A*B; multiply(A,B)
A/B; divide(A,B)



to add A and/to B
to subtract A and/from B
to multiply A and B
to divide A and/by B

Pattern: <to> <verb> A <and> B


add A and/to B
subtract A and/from B
multiply A and B
divide A and/by B

Pattern: <verb> A <and> B

So function calls verb(A,B) follow this structure

Flemish and Dutch:


A en/bij B optellen; A optellen bij B
A en/van B aftrekken; A aftrekken van B
A en/met B vermenigvuldigen; A vermenigvuldigen met B
A en/door B delen; A delen door B

The first variant has the pattern

A <en> B <werkwoord>

The second variant needs a different preposition for each verb but the pattern is

A <werkwoord> <voorzetsel> B.


tel A op bij B; tel A en/bij B op
trek A af van B; trek A en/van B af
vermenigvuldig A en/met B
deel A en/door B

So there is no single general pattern, here are three patterns:

<werkwoord> A <en> B
<werkwoord> A <voorzetsel> <voorzetsel> B
<werkwoord> A <voorzetsel> B <voorzetsel>

depending on wether the verb has a preposition as part of it or not. But there is no easy rule to determine this.

As a result creating a natural-language programming language based on Flemish or Dutch is harder than for English.

Web 0 3 5
Sign in to participate in the conversation

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!