65 lines
No EOL
5.1 KiB
HTML
65 lines
No EOL
5.1 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<title>CLiki: trivial-features</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=trivial-features">
|
|
<link rel="stylesheet" href="static/css/style.css">
|
|
<link rel="stylesheet" href="static/css/colorize.css">
|
|
</head>
|
|
|
|
<body>
|
|
<span class="hidden">CLiki - trivial-features</span>
|
|
<div id="content"><div id="content-area"><div id="article-title">trivial-features</div><div id="article">trivial-features ensures consistent <a href="https://www.cliki.net/site/HyperSpec/Body/var_stfeaturesst.html" class="hyperspec">*FEATURES*</a> across multiple Common
|
|
Lisp implementations.<p>For example, on MacOS X platforms, while most Lisps push <code>:DARWIN</code> to
|
|
<code>*FEATURES*</code>, <a href="CLISP.html" class="internal">CLISP</a> and <a href="Allegro.html" class="internal">Allegro</a> push <code>:MACOS</code> and <code>:MACOSX</code> instead,
|
|
respectively. Some Lisps might not push any feature suggesting MacOS
|
|
X at all. trivial-features will make sure all Lisps will have <code>:DARWIN</code>
|
|
in the <code>*FEATURES*</code> list when running on <a href="MacOS X.html" class="internal">MacOS X</a>. This way, you can
|
|
write<p><div class="code"><span class="nonparen">#+darwin foo #-darwin bar</span></div><p>instead of<p><div class="code"><span class="nonparen">#+<span class="paren1">(<span class="nonparen"><a href="https://www.cliki.net/site/HyperSpec/Body/any_or.html" class="symbol">or</a> darwin macos macosx</span>)</span> foo
|
|
#-<span class="paren1">(<span class="nonparen"><a href="https://www.cliki.net/site/HyperSpec/Body/any_or.html" class="symbol">or</a> darwin macos macosx</span>)</span> bar</span></div><p>The included <a href="https://github.com/trivial-features/trivial-features/blob/master/SPEC.md">SPEC</a>
|
|
document describes the set of symbols that should or should not be present in <code>CL:*FEATURES*</code>
|
|
on certain circumstances. This specification is implemented by the <code>TRIVIAL-FEATURES</code> system
|
|
which supports a handful of Lisps.<p>The test suite is, in effect, an implementation using <a href="CFFI.html" class="internal">CFFI</a> that is
|
|
checked against the various implementations in <code>src/tf-*.lisp</code>.<p>License: <a href="MIT.html" class="category">MIT</a><p>Source repository: <a href="https://github.com/trivial-features/trivial-features">https://github.com/trivial-features/trivial-features</a><br>
|
|
Release tarballs: <a href="https://common-lisp.net/~loliveira/tarballs/trivial-features/">https://common-lisp.net/~loliveira/tarballs/trivial-features/</a><br>
|
|
NetBSD package: <a href="https://pkgsrc.se/wip/cl-trivial-features">https://pkgsrc.se/wip/cl-trivial-features</a><p><hr>
|
|
<a href="trivial.html" class="category">trivial</a> <a href="system programming.html" class="category">system programming</a></div></div>
|
|
<div id="footer" class="buttonbar"><ul><li><a href="trivial-features.html">Current version</a></li>
|
|
<li><a href="https://www.cliki.net/site/history?article=trivial-features">History</a></li>
|
|
<li><a href="https://www.cliki.net/site/backlinks?article=trivial-features">Backlinks</a></li><li><a href="https://www.cliki.net/site/edit-article?title=trivial-features&from-revision=3800979754">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> |