Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | cleanup. | Hugo Hörnquist | 2020-08-12 |
| | |||
* | fixups in (util config). | Hugo Hörnquist | 2020-08-12 |
| | |||
* | Massivly simplify config internals. | Hugo Hörnquist | 2020-08-12 |
| | |||
* | Resolve (datetime instance) TODO with ./configure? | Hugo Hörnquist | 2020-08-03 |
| | | | | | | | | | | 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. | ||
* | Repaired ability to set config value to #f. | Hugo Hörnquist | 2020-06-14 |
| | |||
* | (util config) compiles again. | Hugo Hörnquist | 2020-06-10 |
| | |||
* | Change top error handler. | Hugo Hörnquist | 2020-06-05 |
| | |||
* | Fix configuration help, print with --help. | Hugo Hörnquist | 2020-06-01 |
| | |||
* | Modify config to store return of #:pre. | Hugo Hörnquist | 2020-06-01 |
| | |||
* | Slight changes to define-config. | Hugo Hörnquist | 2020-05-23 |
| | |||
* | define-config now expands correctly. | Hugo Hörnquist | 2020-04-25 |
| | |||
* | Minor notes and fixes. | Hugo Hörnquist | 2020-04-07 |
| | |||
* | Update define-config to hopefully check pre-existing values. | Hugo Hörnquist | 2020-04-03 |
| | |||
* | Remove ensure? for configs, built in instead. | Hugo Hörnquist | 2020-04-02 |
| | |||
* | 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-04-01 |
| | |||
* | Attempt at decentralized configuration system. | Hugo Hörnquist | 2020-03-31 |
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. |