cl-ini

2024-10-12

INI file parser

Upstream URL

github.com/compufox/cl-ini

Author

License

MIT
README

cl-ini

ava fox

parse an INI file into an alist

Installing

$ mkdir ~/common-lisp
$ git clone https://github.com/compufox/cl-ini ~/common-lisp/cl-ini

then

* (ql:quickload :cl-ini)

API

(parse-ini file) => nested alist

reads FILE in and parses it

if no section is defined then all key-pairs are put into a :GLOBAL section

returns an alist with the same structure of the ini file


(ini-value ini key &key (section :global)) => value OR nil

returns the value of KEY for SECTION in INI

returns NIL if key does not exist

License

MIT

Dependencies (2)

  • cl-str
  • prove

Dependents (0)

    • GitHub
    • Quicklisp