[Main website]

paradigm/configurations-as-native-expressions

In JavaScript, JSON is a configuration similar to JavaScript records and objects. In Clojure, EDN uses the maps of Clojure for describing configurations. In Nix, configurations are Nix records.

It is common in modern scripting languages to use the syntax of the host PL, also as a configuration tool.

The Dok OOP syntax can be used too for this.