From f1532b4eca797f5aab4ec1a693a767a7a3e603c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sat, 9 Apr 2022 21:58:52 +0200 Subject: Replace config system with paramater based system. This new setup stores all configurations are parameters. This forces everything into modules, and ensures that we can't have a module use an unloaded config. It (unfortunatelly) also causes users to have to specify namespaces when defining values, but ini-files (and the like) already does that. Also, there is nothing stopping a new `set-config!' from being defined which allows un-namespaced operation. The commit also removes the introspection procedures. They where a bit weird to begin with, since they only showed loaded fields. And since the program had no way of properly serializing or deserializing them we remove them for the time being. They would however be good to reintroduce together with a proper menu for editing simple configuration (see Emacs' `custom-set-variables'). --- start | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'start') diff --git a/start b/start index b8d48cc4..2363d428 100755 --- a/start +++ b/start @@ -20,9 +20,9 @@ port=`find_port {8080..9000}` echo "Starting on $port" $(dirname $(realpath $0))/main \ - -o debug=#t \ - -o edit-mode=#t \ --repl=$XDG_RUNTIME_DIR/calp \ + --debug \ + --edit-mode \ server \ --port "$port" \ --sigusr -- cgit v1.2.3