emacs.d/clones/lisp/www.cliki.net/clinicap.html
2022-10-07 15:47:14 +02:00

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&#32;format.html" class="category">file format</a> parser and writer, implemented in Common Lisp.<p>author: <a href="Azamat&#32;S.&#32;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=&quot;turtle&quot;
org=&quot;bazon&quot;
</pre><p><pre>
CLINICAP&gt; (setf *b* (read-ini-file &quot;/tmp/test.ini&quot;))
CLINICAP&gt; (get-ini-property *b* &#039;(&quot;max-connections&quot;)) =&gt; 20
CLINICAP&gt; (get-ini-property *b* &#039;(&quot;general&quot; &quot;name&quot;)) =&gt; &quot;turtle&quot;
CLINICAP&gt; (set-ini-property *b* &#039;(&quot;general&quot; &quot;interests&quot;) &quot;lisp&quot;)
CLINICAP&gt; (write-ini-file &quot;/tmp/test.ini&quot; *b*)
</pre><p><pre>
turtle@turtle-laptop:~/scm-controlled/debian-lisp/clinicap$ cat /tmp/test.ini
max-connections=20
[general]
name=&quot;turtle&quot;
org=&quot;bazon&quot;
interests=&quot;lisp&quot;
</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&amp;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&#32;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>