Next: Introduction, Previous: (dir), Up: (dir) [Contents][Index]
This is the madeira-port Reference Manual, version 1.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Mon Aug 15 05:16:07 2022 GMT+0.
Next: Systems, Previous: The madeira-port Reference Manual, Up: The madeira-port Reference Manual [Contents][Index]
MADEIRA-PORT Indended to be used mainly as :DEFSYSTEM-DEPENDS-ON dependency in ASDF systems, but can also be useful outside ASDF systems. The provided component class :MADEIRA-PORT makes it easy to specify implementation (or feature) dependent files as part of an ASDF system definition: (:MADEIRA-PORT:WHEN ) Specifies that the file is to be compiled and loaded only when the feature expression evaluates to true under FEATURE-EVAL for the current implementation. (:MADEIRA-PORT :UNLESS ) Specifies that the file is to be compiled and loaded only when the feature expression evaluates to false under FEATURE-EVAL for the current implementation. Example: (defsystem :foo :serial t :defsystem-depends-on (:madeira-port) :components ((:file "package") (:module "ports" :components ((:madeira-port "sbcl" :when :sbcl) (:madeira-port "ccl" :when :ccl) (:madeira-port "ansi" :unless (:or :sbcl :ccl)))) (:file "foo"))) Also provides FEATURE-EVAL mentioned above, which supports extended feature syntax, allowing expression such as (:FIND-FUNCTION #:EXIT :SB-EXT) Finally, exposes FEATURE-EVAL via EXTEND-FEATURE-SYNTAX, which copies the current readtable, adds extended versions of #+ and #- read macros to it, and assigns it to *READTABLE*.
Next: Files, Previous: Introduction, Up: The madeira-port Reference Manual [Contents][Index]
The main system appears first, followed by any subsystem dependency.
Provides :MADEIRA-PORT file class for ASDF, and an extended #+ and #- syntax.
Nikodemus Siivola <nikodemus@random-state.net>
MIT
1.0
madeira-port.lisp (file).
Next: Packages, Previous: Systems, Up: The madeira-port Reference Manual [Contents][Index]
Files are sorted by type and then listed depth-first from the systems components trees.
Next: madeira-port/madeira-port.lisp, Previous: Lisp, Up: Lisp [Contents][Index]
madeira-port (system).
Previous: madeira-port/madeira-port.asd, Up: Lisp [Contents][Index]
madeira-port (system).
Next: Definitions, Previous: Files, Up: The madeira-port Reference Manual [Contents][Index]
Packages are listed by definition order.
Next: Indexes, Previous: Packages, Up: The madeira-port Reference Manual [Contents][Index]
Definitions are sorted by export status, category, package, and then by lexicographic order.
Next: Internals, Previous: Definitions, Up: Definitions [Contents][Index]
Next: Ordinary functions, Previous: Public Interface, Up: Public Interface [Contents][Index]
Sets *READTABLE* to a copy of the current readtable with #+ and #-
readmacros implemented using the extended feature evaluator provided by
FEATURE-EVAL.
Takes effect at both load and compile-time if processed as a top level form.
Next: Standalone methods, Previous: Macros, Up: Public Interface [Contents][Index]
Returns the result of evaluating the feature expression EXPR using
extended feature evaluation rules:
Symbols evaluate to T if they are present in *FEATURES*, and NIL otherwise.
Non-symbol atoms evaluate to themselves. (Standard feature expressions do no
accept non-symbol atoms at all.)
Conses evaluate depending on the operator in the CAR:
:AND &rest expressions
If all EXPRESSIONS evaluate to true, evaluates to the value of the last of
them. If no EXPRESSIONS are supplied, evaluates to T. Otherwise evaluates
to NIL.
:NOT expression
Evaluates to T if EXPRESSION evaluates to NIL using extended feature
evaluation rules, NIL otherwise.
:OR &rest expressions
Evaluates to the value of the first of EXPRESSIONS that evalutes to true.
NIL otherwise.
QUOTE expression
Evaluates to EXPRESSION.
:EQ expression1 expression2
:EQL expression1 expression2
:EQUAL expression1 expression2
:EQUALP expression1 expression2
Evaluate to T if EXPRESSION1 and EXPRESSION2 evaluate to values that
compare to true using the similarly named Common Lisp predicate. Otherwise
evaluate to NIL.
:TYPEP value-expression type-expression
Evalutes to true if VALUE-EXPRESSION evaluates to a value that is
an TYPEP of the type-designator TYPE-EXPRESSION evaluates to.
:FIND-PACKAGE package-name
Evaluates to the designated package if it exists, NIL otherwise.
:FIND-SYMBOL symbol-name package-name &optional allow-internal
Evaluates to the designated symbol if named package exits, and the named
symbol is an external (or accessible, if ALLOW-INTERNAL is true) symbol in
it. Otherwise evaluates to NIL.
:FIND-FUNCTION symbol-name package-name &optional allow-internal
Evaluates to the designated function if the named package exits, the named
symbol is an external (or accessible, if ALLOW-INTERNAL is true) symbol in
it that is bound to a function and is not a macro or a special operator.
Otherwise evaluates to NIL.
:FIND-MACRO symbol-name package-name &optional allow-internal
Evaluates to the designated macro-function if the named package exits, the named symbol is an external (or accessible, if ALLOW-INTERNAL is true) symbol in it that is bound to a global macro. Otherwise evaluates to NIL.
:FIND-VARIABLE symbol-name package-name &optional allow-internal
Evaluates to T if the designated symbol if the named package exits, the
named symbol is an external (or accessible, if ALLOW-INTERNAL is true) and
BOUNDP symbol. Otherwise evaluates to NIL.
:FIND-VALUE symbol-name package-name &optional allow-internal
Evaluates to the SYMBOL-VALUE of the designated symbol if the named package exits, the named symbol is an external (or accessible, if ALLOW-INTERNAL is true) and BOUNDP symbol. Otherwise evaluates to NIL.
:FIND-CLASS symbol-name package-name &optional allow-internal
Evaluates to class associated with the designated symbol if the named
package exits, the named symbol is an external (or accessible, if
ALLOW-INTERNAL is true) symbol in it that has an associated class
definition. Otherwise evaluates to NIL.
In all of these both SYMBOL-NAME and PACKAGE-NAME can be any string designators.
Next: Classes, Previous: Ordinary functions, Up: Public Interface [Contents][Index]
asdf/action.
asdf/action.
asdf/action.
Previous: Standalone methods, Up: Public Interface [Contents][Index]
Acts otherwise like a regular ASDF:CL-SOURCE-FILE (aka :FILE), but loaded and compiled if and only if the associated :WHEN and/or :UNLESS options evaluate to true under FEATURE-EVAL.
cl-source-file.
Previous: Public Interface, Up: Definitions [Contents][Index]
Next: Ordinary functions, Previous: Special variables, Up: Internals [Contents][Index]
Previous: Definitions, Up: The madeira-port Reference Manual [Contents][Index]
Jump to: | %
A D E F G M N O P Q S T |
---|
Jump to: | %
A D E F G M N O P Q S T |
---|
Next: Data types, Previous: Functions, Up: Indexes [Contents][Index]
Jump to: | *
S T |
---|
Index Entry | Section | ||
---|---|---|---|
| |||
* | |||
*feature-evaluators* : | Private special variables | ||
| |||
S | |||
Slot, test : | Public classes | ||
Special Variable, *feature-evaluators* : | Private special variables | ||
| |||
T | |||
test : | Public classes | ||
|
Jump to: | *
S T |
---|
Jump to: | C F M P S |
---|
Jump to: | C F M P S |
---|