Fri, 12 Jun 2020 19:42:34 GMTtrivial-features
- links David Mullen (diff)
Version Tue, 25 Oct 2016 21:19:29 GMT (edit) | Version Fri, 12 Jun 2020 19:42:34 GMT (edit) | ||
---|---|---|---|
Line 0: | Line 0: | ||
- | trivial-features ensures consistent *FEATURES* across multiple Common | + | trivial-features ensures consistent _H(*FEATURES*) across multiple Common |
Lisp implementations. | Lisp implementations. | ||
For example, on MacOS X platforms, while most Lisps push <code>:DARWIN</code> to | For example, on MacOS X platforms, while most Lisps push <code>:DARWIN</code> to | ||
- | <code>*FEATURES*</code>, CLISP and Allegro push <code>:MACOS</code> and <code>:MACOSX</code> instead, | + | <code>*FEATURES*</code>, _(CLISP) and _(Allegro) push <code>:MACOS</code> and <code>:MACOSX</code> instead, |
respectively. Some Lisps might not push any feature suggesting MacOS | 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> | X at all. trivial-features will make sure all Lisps will have <code>:DARWIN</code> | ||
- | in the <code>*FEATURES*</code> list when running on MacOS X. This way, you can | + | in the <code>*FEATURES*</code> list when running on _(MacOS X). This way, you can |
write | write | ||
- | <pre> #+darwin foo #-darwin bar </pre> | + | <code lang="common-lisp">#+darwin foo #-darwin bar</code> |
instead of | instead of | ||
- | <pre> #+(or darwin macos macosx) foo #-(or darwin macos macosx) bar </pre> | + | <code lang="common-lisp">#+(or darwin macos macosx) foo #-(or darwin macos macosx) bar</code> |
- | The included SPECdocument 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> systemwhich supports a handful of Lisps. | + | 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 orshould not be present in <code>CL:*FEATURES*</code> on certain circumstances. Thisspecification is implemented by the <code>TRIVIAL-FEATURES</code> system whichsupports a handful of Lisps. |
- | The test suite is, in effect, an implementation using <acronym>CFFI</acronym> that is | + | The test suite is, in effect, an implementation using _(CFFI) that is |
checked against the various implementations in <code>src/tf-*.lisp</code>. | checked against the various implementations in <code>src/tf-*.lisp</code>. | ||
- | |||
License: *(MIT) | License: *(MIT) | ||
- | An RPM forFedora isavailablefrom<a href="http://yum.octopodial-chrome.com/packages/cl-trivial-features">http://yum.octopodial-chrome.com/packages/cl-trivial-features</a> | + | Sourcerepository: <a href="https://github.com/trivial-features/trivial-features">https://github.com/trivial-features/trivial-features</a><br> Releasetarballs:<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> |
- | Source repository: <a href="http://github.com/trivial-features/trivial-features">http://github.com/trivial-features/trivial-features</a> <br>Release tarballs: <a href="http://common-lisp.net/~loliveira/tarballs/trivial-features/">http://common-lisp.net/~loliveira/tarballs/trivial-features/</a> <hr/> *(system programming) | + | <hr> *(trivial)*(system programming) |