scm: support configuration

Support a configuration function, with the system-configuration.

Update docs.

Add a tests for language, using the configuration to see if we support
it.
This commit is contained in:
Dirk-Jan C. Binnema
2026-07-22 16:23:58 +03:00
committed by Seth Ladygo
parent 31b0fd45c2
commit 5235e16f54
5 changed files with 100 additions and 33 deletions

View File

@ -55,7 +55,8 @@ subr_cc_store_alist(SCM store_scm) try {
continue;
const auto str{conf.as_display_string(prop)};
const auto name{make_symbol(prop.name)};
const auto name{make_symbol(mu_format("{}{}", prop.name,
prop.type == Type::Boolean ? "?" : ""))};
const auto val = std::invoke([&]() {
switch (prop.type) {
case Type::Number: