aboutsummaryrefslogtreecommitdiff
path: root/module/util/config.scm (unfollow)
Commit message (Collapse)Author
2020-08-24Move util modules into calp module..Hugo Hörnquist
2020-08-12cleanup.Hugo Hörnquist
2020-08-12fixups in (util config).Hugo Hörnquist
2020-08-12Massivly simplify config internals.Hugo Hörnquist
2020-08-03Resolve (datetime instance) TODO with ./configure?Hugo Hörnquist
Tried adding a ./configure script, which mostly is responsible for downloading a default zoneinfo file, and setting up the environment for the program. I have for quite a while thought about having a configure system for things like these, but also for setting up default paths. Let's see if it works out.
2020-06-14Repaired ability to set config value to #f.Hugo Hörnquist
2020-06-10(util config) compiles again.Hugo Hörnquist
2020-06-05Change top error handler.Hugo Hörnquist
2020-06-01Fix configuration help, print with --help.Hugo Hörnquist
2020-06-01Modify config to store return of #:pre.Hugo Hörnquist
2020-05-23Slight changes to define-config.Hugo Hörnquist
2020-04-25define-config now expands correctly.Hugo Hörnquist
2020-04-07Minor notes and fixes.Hugo Hörnquist
2020-04-03Update define-config to hopefully check pre-existing values.Hugo Hörnquist
2020-04-02Remove ensure? for configs, built in instead.Hugo Hörnquist
2020-04-01Add set-config! and get-config, along with print for debug.Hugo Hörnquist
2020-04-01Start rewrite mentioned in last commit.Hugo Hörnquist
2020-03-31Attempt at decentralized configuration system.Hugo Hörnquist
Placing all possible configuration items in a central (parameters) module scales really badly. This idea that any module can register configuration parameters is better. The current implementation however has the drawback that it requires that the module exposing the parameter is loaded before the value can be sat, but that scales even worse. A probable solution would be to abandon binding everything to guile's module system, and instead let (util config) provide a `conf-ref' and a `conf-set!' procedures. A `define-configuration' similar to emacs `defcustom' could be of use, mainly for retroactively type checking parameters.