73 lines
No EOL
3.9 KiB
HTML
73 lines
No EOL
3.9 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<title>CLiki: clinicap</title>
|
|
<link rel="alternate" type="application/atom+xml" title="ATOM feed of edits to current article"
|
|
href="https://www.cliki.net/site/feed/article.atom?title=clinicap">
|
|
<link rel="stylesheet" href="static/css/style.css">
|
|
<link rel="stylesheet" href="static/css/colorize.css">
|
|
</head>
|
|
|
|
<body>
|
|
<span class="hidden">CLiki - clinicap</span>
|
|
<div id="content"><div id="content-area"><div id="article-title">clinicap</div><div id="article">clinicap is a dialect of ini <a href="file format.html" class="category">file format</a> parser and writer, implemented in Common Lisp.<p>author: <a href="Azamat S. Kalimoulline.html" class="internal">Azamat S. Kalimoulline</a> (aka turtle)<p>sources: <a href="https://github.com/turtle-bazon/clinicap">https://github.com/turtle-bazon/clinicap</a><p><pre>
|
|
turtle@turtle-laptop:~/scm-controlled/debian-lisp/clinicap$ cat /tmp/test.ini
|
|
max-connections=20
|
|
|
|
[general]
|
|
name="turtle"
|
|
org="bazon"
|
|
</pre><p><pre>
|
|
CLINICAP> (setf *b* (read-ini-file "/tmp/test.ini"))
|
|
CLINICAP> (get-ini-property *b* '("max-connections")) => 20
|
|
CLINICAP> (get-ini-property *b* '("general" "name")) => "turtle"
|
|
CLINICAP> (set-ini-property *b* '("general" "interests") "lisp")
|
|
CLINICAP> (write-ini-file "/tmp/test.ini" *b*)
|
|
</pre><p><pre>
|
|
turtle@turtle-laptop:~/scm-controlled/debian-lisp/clinicap$ cat /tmp/test.ini
|
|
max-connections=20
|
|
|
|
[general]
|
|
name="turtle"
|
|
org="bazon"
|
|
interests="lisp"
|
|
</pre><p>license: <a href="LLGPL.html" class="category">LLGPL</a><p><hr>
|
|
<a href="configuration.html" class="category">configuration</a></div></div>
|
|
<div id="footer" class="buttonbar"><ul><li><a href="clinicap.html">Current version</a></li>
|
|
<li><a href="https://www.cliki.net/site/history?article=clinicap">History</a></li>
|
|
<li><a href="https://www.cliki.net/site/backlinks?article=clinicap">Backlinks</a></li><li><a href="https://www.cliki.net/site/edit-article?title=clinicap&from-revision=3813251992">Edit</a></li><li><a href="https://www.cliki.net/site/edit-article?create=t">Create</a></li></ul></div>
|
|
</div>
|
|
<div id="header-buttons" class="buttonbar">
|
|
<ul>
|
|
<li><a href="https://www.cliki.net/">Home</a></li>
|
|
<li><a href="https://www.cliki.net/site/recent-changes">Recent Changes</a></li>
|
|
<li><a href="CLiki.html">About</a></li>
|
|
<li><a href="Text Formatting.html">Text Formatting</a></li>
|
|
<li><a href="https://www.cliki.net/site/tools">Tools</a></li>
|
|
</ul>
|
|
<div id="search">
|
|
<form action="https://www.cliki.net/site/search">
|
|
<label for="search_query" class="hidden">Search CLiki</label>
|
|
<input type="text" name="query" id="search_query" value="" />
|
|
<input type="submit" value="search" />
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<div id="pageheader">
|
|
<div id="header">
|
|
<span id="logo">CLiki</span>
|
|
<span id="slogan">the common lisp wiki</span>
|
|
<div id="login"><form method="post" action="https://www.cliki.net/site/login">
|
|
<label for="login_name" class="hidden">Account name</label>
|
|
<input type="text" name="name" id="login_name" class="login_input" />
|
|
<label for= "login_password" class="hidden">Password</label>
|
|
<input type="password" name="password" id="login_password" class="login_input" />
|
|
<input type="submit" name="login" value="login" id="login_submit" /><br />
|
|
<div id="register"><a href="https://www.cliki.net/site/register">register</a></div>
|
|
<input type="submit" name="reset-pw" value="reset password" id="reset_pw" />
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body></html> |