This is the simple-config Reference Manual, version 1.2, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 07:42:08 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
simple-config
loads and parses a KEY=VALUE style config file
ava fox <dev@computerfox.xyz>
BSD 3-Clause
1.2
str
(system).
uiop
(system).
package.lisp
(file).
simple-config.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
simple-config/simple-config.lisp
package.lisp
(file).
simple-config
(system).
config
(function).
(setf config)
(method).
load-config
(function).
save-config
(function).
*config*
(special variable).
*list-separator*
(special variable).
*parse-lists*
(special variable).
line-comment-p
(function).
parse-value
(function).
print-config
(function).
string-to-keyword
(function).
Packages are listed by definition order.
simple-config
conf
common-lisp
.
config
(function).
(setf config)
(generic function).
load-config
(function).
save-config
(function).
*config*
(special variable).
*list-separator*
(special variable).
*parse-lists*
(special variable).
line-comment-p
(function).
parse-value
(function).
print-config
(function).
string-to-keyword
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
retrieve the value from config using KEY, returns nil if not found
if DEFAULT is given returns it instead of nil when KEY is not found
if CONFIG is passed in, we use that instead of our internal *CONFIG* variable
loads config at FILE-PATH
PARSE-LISTS defaults to t
LIST-SEPARATOR defaults to #,
if PARSE-LISTS is non-nil we check any value for character LIST-SEPARATOR and split it by that
if SET-INTERNAL-VAR is non-nil we set SIMPLE-CONFIG::*CONFIG* to the alist we get from parsing the specified file
returns T on success, NIL otherwise, or an alist if SET-INTERNAL-VAR is nil
saves currently loaded config to FILEPATH
our loaded config
checks if LINE is a full line comments
determines what kind of data VALUE is, and parses it correctly
custom format function that prints out config
converts STR into a keyword
replaces all underscores with hyphens
Jump to: | (
C F G L M P S |
---|
Jump to: | (
C F G L M P S |
---|
Jump to: | *
S |
---|
Jump to: | *
S |
---|
Jump to: | F P S |
---|
Jump to: | F P S |
---|