Next: Introduction, Previous: (dir), Up: (dir) [Contents][Index]
This is the trivial-features Reference Manual, generated automatically by Declt version 3.0 "Montgomery Scott" on Mon Apr 19 18:04:57 2021 GMT+0.
• Introduction | What trivial-features is all about | |
• Systems | The systems documentation | |
• Modules | The modules documentation | |
• Files | The files documentation | |
• Indexes | Concepts, functions, variables and data types |
trivial-features ensures consistent *FEATURES*
across multiple
Common Lisp implementations.
For example, on MacOS X platforms, while most Lisps push :DARWIN
to
*FEATURES*
, CLISP and Allegro push :MACOS
and :MACOSX
instead,
respectively. Some Lisps might not push any feature suggesting MacOS
X at all. trivial-features will make sure all Lisps will have
:DARWIN
in the *FEATURES*
list when running on MacOS X. This
way, you can write
#+darwin foo #-darwin bar
instead of
#+(or darwin macos macosx) foo
#-(or darwin macos macosx) bar
The included SPEC.md document describes the set of symbols that
should or should not be present in CL:*FEATURES*
on certain
circumstances. This specification is implemented by the
TRIVIAL-FEATURES system which supports a handful of Lisps.
The test suite is, in effect, an implementation using CFFI that
is checked against the various implementations in src/tf-*.lisp
.
trivial-features is MIT-licenced.
Next: Modules, Previous: Introduction, Up: Top [Contents][Index]
The main system appears first, followed by any subsystem dependency.
• The trivial-features system |
Luis Oliveira <loliveira@common-lisp.net>
MIT
Ensures consistent *FEATURES* across multiple CLs.
trivial-features.asd (file)
src (module)
Modules are listed depth-first from the system components tree.
• The trivial-features/src module |
trivial-features (system)
src/
tf-sbcl.lisp (file)
Files are sorted by type and then listed depth-first from the systems components trees.
• Lisp files |
• The trivial-features.asd file | ||
• The trivial-features/src/tf-sbcl.lisp file |
Next: The trivial-features/src/tf-sbcl․lisp file, Previous: Lisp files, Up: Lisp files [Contents][Index]
trivial-features.asd
trivial-features (system)
Previous: The trivial-features․asd file, Up: Lisp files [Contents][Index]
src (module)
src/tf-sbcl.lisp
• Concept index | ||
• Function index | ||
• Variable index | ||
• Data type index |
Next: Function index, Previous: Indexes, Up: Indexes [Contents][Index]
Jump to: | F L M T |
---|
Jump to: | F L M T |
---|
Next: Variable index, Previous: Concept index, Up: Indexes [Contents][Index]
Next: Data type index, Previous: Function index, Up: Indexes [Contents][Index]
Previous: Variable index, Up: Indexes [Contents][Index]
Jump to: | S T |
---|
Index Entry | Section | ||
---|---|---|---|
| |||
S | |||
System, trivial-features : | The trivial-features system | ||
| |||
T | |||
trivial-features : | The trivial-features system | ||
|
Jump to: | S T |
---|