Commit message (Collapse) | Author | ||
---|---|---|---|
2020-06-05 | Change top error handler. | Hugo Hörnquist | |
2020-06-01 | Fix configuration help, print with --help. | Hugo Hörnquist | |
2020-06-01 | Modify config to store return of #:pre. | Hugo Hörnquist | |
2020-05-23 | Slight changes to define-config. | Hugo Hörnquist | |
2020-04-25 | define-config now expands correctly. | Hugo Hörnquist | |
2020-04-07 | Minor notes and fixes. | Hugo Hörnquist | |
2020-04-03 | Update define-config to hopefully check pre-existing values. | Hugo Hörnquist | |
2020-04-02 | Remove ensure? for configs, built in instead. | Hugo Hörnquist | |
2020-04-01 | Add set-config! and get-config, along with print for debug. | Hugo Hörnquist | |
2020-04-01 | Start rewrite mentioned in last commit. | Hugo Hörnquist | |
2020-03-31 | Attempt 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. |