Skip to content

compufox/cl-ini

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

lisp ini parser

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •