Next: Introduction, Previous: (dir), Up: (dir) [Contents][Index]
This is the contextl Reference Manual, version 1.0.0, generated automatically by Declt version 2.4 "Will Decker" on Wed Jun 20 11:38:40 2018 GMT+0.
• Introduction: | What contextl is all about | |
• Systems: | The systems documentation | |
• Files: | The files documentation | |
• Packages: | The packages documentation | |
• Definitions: | The symbols documentation | |
• Indexes: | Concepts, functions, variables and data types |
ContextL is a CLOS extension for Context-oriented Programming (COP), and was the first language extension that explicitly supports COP when it was originally introduced in 2005.
ContextL is also provided by Quicklisp.
Currently, there is no documentation available, but you can find some test cases in the distribution and an overview of ContextL's features in an overview paper. See also this general overview article about COP which also contains some ContextL examples.
ContextL depends on Closer to MOP, and is therefore only supported by the Common Lisp implementations that are supported by that library.
Warning: ContextL currently doesn't work on Embeddable Common Lisp (as of ECL 16.1.2, and already since a couple of versions before). Currently investigating what the issue is. Please stay tuned.
New in version 1.0.0:
New in version 0.61:
Highlights of version 0.6:
Highlights of version 0.51:
Highlights of version 0.5:
Highlights of version 0.4:
Highlights of version 0.31:
Highlights of version 0.3:
This project was partially funded by the Institute for the Promotion of Innovation through Science and Technology in Flanders (IWT-Vlanderen) from 2005-2008.
Next: Files, Previous: Introduction, Up: Top [Contents][Index]
The main system appears first, followed by any subsystem dependency.
• The contextl system: |
Pascal Costanza
MIT-style license
ContextL is a CLOS extension for Context-oriented Programming (COP).
1.0.0
contextl.asd (file)
Files are sorted by type and then listed depth-first from the systems components trees.
• Lisp files: |
Next: The contextl/contextl-packages<dot>lisp file, Previous: Lisp files, Up: Lisp files [Contents][Index]
contextl.asd
contextl (system)
Next: The contextl/cx-threads<dot>lisp file, Previous: The contextl<dot>asd file, Up: Lisp files [Contents][Index]
contextl (system)
contextl-packages.lisp
Next: The contextl/cx-util<dot>lisp file, Previous: The contextl/contextl-packages<dot>lisp file, Up: Lisp files [Contents][Index]
contextl-packages.lisp (file)
contextl (system)
cx-threads.lisp
Next: The contextl/cx-dynamic-environments<dot>lisp file, Previous: The contextl/cx-threads<dot>lisp file, Up: Lisp files [Contents][Index]
contextl (system)
cx-util.lisp
Next: The contextl/cx-dynamic-variables<dot>lisp file, Previous: The contextl/cx-util<dot>lisp file, Up: Lisp files [Contents][Index]
contextl-packages.lisp (file)
contextl (system)
cx-dynamic-environments.lisp
Next: The contextl/cx-dynascope<dot>lisp file, Previous: The contextl/cx-dynamic-environments<dot>lisp file, Up: Lisp files [Contents][Index]
contextl (system)
cx-dynamic-variables.lisp
Next: The contextl/cx-special-class<dot>lisp file, Previous: The contextl/cx-dynamic-variables<dot>lisp file, Up: Lisp files [Contents][Index]
contextl (system)
cx-dynascope.lisp
prepare-binding (function)
Next: The contextl/cx-singleton-class<dot>lisp file, Previous: The contextl/cx-dynascope<dot>lisp file, Up: Lisp files [Contents][Index]
cx-dynascope.lisp (file)
contextl (system)
cx-special-class.lisp
Next: The contextl/cx-layered-function-macros<dot>lisp file, Previous: The contextl/cx-special-class<dot>lisp file, Up: Lisp files [Contents][Index]
contextl (system)
cx-singleton-class.lisp
Next: The contextl/cx-layer-metaclasses<dot>lisp file, Previous: The contextl/cx-singleton-class<dot>lisp file, Up: Lisp files [Contents][Index]
contextl (system)
cx-layered-function-macros.lisp
Next: The contextl/cx-gc<dot>lisp file, Previous: The contextl/cx-layered-function-macros<dot>lisp file, Up: Lisp files [Contents][Index]
contextl (system)
cx-layer-metaclasses.lisp
Next: The contextl/cx-layer<dot>lisp file, Previous: The contextl/cx-layer-metaclasses<dot>lisp file, Up: Lisp files [Contents][Index]
contextl (system)
cx-gc.lisp
clear-layer-caches (function)
Next: The contextl/cx-partial-class<dot>lisp file, Previous: The contextl/cx-gc<dot>lisp file, Up: Lisp files [Contents][Index]
contextl (system)
cx-layer.lisp
Next: The contextl/cx-class-in-layer<dot>lisp file, Previous: The contextl/cx-layer<dot>lisp file, Up: Lisp files [Contents][Index]
cx-layer.lisp (file)
contextl (system)
cx-partial-class.lisp
Next: The contextl/cx-layered-function<dot>lisp file, Previous: The contextl/cx-partial-class<dot>lisp file, Up: Lisp files [Contents][Index]
cx-layer.lisp (file)
contextl (system)
cx-class-in-layer.lisp
Next: The contextl/cx-layered-access-class<dot>lisp file, Previous: The contextl/cx-class-in-layer<dot>lisp file, Up: Lisp files [Contents][Index]
contextl (system)
cx-layered-function.lisp
Next: The contextl/cx-layered-class<dot>lisp file, Previous: The contextl/cx-layered-function<dot>lisp file, Up: Lisp files [Contents][Index]
cx-layered-function.lisp (file)
contextl (system)
cx-layered-access-class.lisp
Previous: The contextl/cx-layered-access-class<dot>lisp file, Up: Lisp files [Contents][Index]
contextl (system)
cx-layered-class.lisp
*special-layered-effective-slot-definition-class* (special variable)
Next: Definitions, Previous: Files, Up: Top [Contents][Index]
Packages are listed by definition order.
• The contextl-user package: | ||
• The contextl-common-lisp package: | ||
• The contextl package: |
Next: The contextl-common-lisp package, Previous: Packages, Up: Packages [Contents][Index]
contextl-packages.lisp (file)
cx-user
Next: The contextl package, Previous: The contextl-user package, Up: Packages [Contents][Index]
contextl-packages.lisp (file)
cxcl
Previous: The contextl-common-lisp package, Up: Packages [Contents][Index]
contextl-packages.lisp (file)
Definitions are sorted by export status, category, package, and then by lexicographic order.
• Exported definitions: | ||
• Internal definitions: |
Next: Internal definitions, Previous: Definitions, Up: Definitions [Contents][Index]
• Exported special variables: | ||
• Exported symbol macros: | ||
• Exported macros: | ||
• Exported functions: | ||
• Exported generic functions: | ||
• Exported structures: | ||
• Exported classes: |
Next: Exported symbol macros, Previous: Exported definitions, Up: Exported definitions [Contents][Index]
set/get a place’s special symbol instead of its symbol value when this is set to a non-nil value
cx-dynascope.lisp (file)
Next: Exported macros, Previous: Exported special variables, Up: Exported definitions [Contents][Index]
cx-dynascope.lisp (file)
t
Next: Exported functions, Previous: Exported symbol macros, Up: Exported definitions [Contents][Index]
cx-dynamic-variables.lisp (file)
cx-layered-class.lisp (file)
cx-layer-metaclasses.lisp (file)
cx-dynamic-variables.lisp (file)
cx-dynamic-variables.lisp (file)
bind places to new values with dynamic scope in parallel, and execute body in that new dynamic environment
cx-dynascope.lisp (file)
sequentially bind places to new values with dynamic scope, and execute body in that new dynamic environment
cx-dynascope.lisp (file)
cx-dynamic-variables.lisp (file)
cx-dynamic-variables.lisp (file)
bind places to new values with dynamic scope in parallel, and execute body in that new dynamic environment
cx-dynascope.lisp (file)
sequentially bind places to new values with dynamic scope, and execute body in that new dynamic environment
cx-dynascope.lisp (file)
cx-dynamic-variables.lisp (file)
cx-dynamic-variables.lisp (file)
cx-dynamic-variables.lisp (file)
cx-dynamic-variables.lisp (file)
cx-dynamic-variables.lisp (file)
cx-dynamic-variables.lisp (file)
cx-dynamic-variables.lisp (file)
cx-dynamic-environments.lisp (file)
cx-dynamic-variables.lisp (file)
like dynamic-progv, only that symbols must all be special symbols
cx-dynascope.lisp (file)
like dynamic-reprogv, only that symbols must all be special symbols
cx-dynascope.lisp (file)
cx-layer.lisp (file)
cx-layer.lisp (file)
cx-dynamic-environments.lisp (file)
cx-dynamic-environments.lisp (file)
cx-layer.lisp (file)
cx-special-class.lisp (file)
cx-special-class.lisp (file)
executes body in an environment with *symbol-access* set to t
cx-dynascope.lisp (file)
executes body in an environment with *symbol-access* set to nil
cx-dynascope.lisp (file)
Next: Exported generic functions, Previous: Exported macros, Up: Exported definitions [Contents][Index]
cx-layer.lisp (file)
cx-layer.lisp (file)
cx-layer.lisp (file)
cx-layer.lisp (file)
cx-dynamic-environments.lisp (file)
cx-gc.lisp (file)
cx-layer.lisp (file)
cx-dynamic-variables.lisp (file)
cx-dynamic-variables.lisp (file)
cx-dynamic-variables.lisp (file)
cx-dynamic-variables.lisp (file)
cx-dynamic-variables.lisp (file)
cx-layer.lisp (file)
cx-layer.lisp (file)
cx-layer-metaclasses.lisp (file)
cx-layered-function.lisp (file)
cx-layered-function.lisp (file)
cx-singleton-class.lisp (file)
cx-layer.lisp (file)
cx-layer.lisp (file)
cx-dynamic-variables.lisp (file)
creates a fresh unique special symbol
cx-dynascope.lisp (file)
cx-layer.lisp (file)
cx-layer.lisp (file)
cx-layered-access-class.lisp (file)
cx-layered-access-class.lisp (file)
cx-layered-access-class.lisp (file)
checks whether a symbol is special, as created by make-special-symbol
cx-dynascope.lisp (file)
Next: Exported structures, Previous: Exported functions, Up: Exported definitions [Contents][Index]
cx-dynamic-environments.lisp (file)
cx-class-in-layer.lisp (file)
automatically generated reader method
cx-layer-metaclasses.lisp (file)
cx-layer-metaclasses.lisp (file)
cx-layer-metaclasses.lisp (file)
cx-layer-metaclasses.lisp (file)
automatically generated reader method
cx-layered-function.lisp (file)
cx-partial-class.lisp (file)
append (short method combination)
Options: :most-specific-first
automatically generated reader method
cx-partial-class.lisp (file)
automatically generated reader method
cx-partial-class.lisp (file)
cx-class-in-layer.lisp (file)
automatically generated reader method
automatically generated reader method
cx-layered-access-class.lisp (file)
automatically generated reader method
cx-layered-access-class.lisp (file)
cx-layered-access-class.lisp (file)
automatically generated reader method
cx-class-in-layer.lisp (file)
automatically generated reader method
cx-special-class.lisp (file)
automatically generated reader method
Next: Exported classes, Previous: Exported generic functions, Up: Exported definitions [Contents][Index]
cx-dynamic-environments.lisp (file)
structure-object (structure)
dynamic-mark-name (function)
(setf dynamic-mark-name) (function)
Previous: Exported structures, Up: Exported definitions [Contents][Index]
cx-dynamic-environments.lisp (file)
standard-object (class)
:dynamic-winds
dynamic-winds (generic function)
cx-layered-access-class.lisp (file)
standard-class (class)
special-layered-access-class (class)
cx-layered-class.lisp (file)
shared-initialize (method)
Initarg | Value |
---|---|
:defining-metaclass | (quote contextl:special-layered-access-class) |
cx-layered-access-class.lisp (file)
standard-direct-slot-definition (class)
:layered
slot-definition-layeredp (generic function)
:layered-readers
slot-definition-layered-readers (generic function)
:layered-writers
slot-definition-layered-writers (generic function)
layered-accessor-methods (generic function)
(setf layered-accessor-methods) (generic function)
cx-layered-access-class.lisp (file)
standard-effective-slot-definition (class)
cx-layered-class.lisp (file)
standard-generic-function (class)
Initarg | Value |
---|---|
:method-class | (find-class (quote contextl:layered-method)) |
standard-method (class)
cx-partial-class.lisp (file)
standard-class (class)
layered-class (class)
contextl::defining-classes
partial-class-defining-classes (generic function)
:defining-metaclass
partial-class-defining-metaclass (generic function)
Initarg | Value |
---|---|
:defining-metaclass | (quote standard-class) |
cx-partial-class.lisp (file)
standard-object (class)
Initarg | Value |
---|---|
:allow-other-keys | t |
cx-singleton-class.lisp (file)
standard-class (class)
standard-layer-class (class)
cx-special-class.lisp (file)
standard-class (class)
(contextl::make-lock :name "special class lock")
special-class-lock (generic function)
Initarg | Value |
---|---|
:direct-superclasses | (list (find-class (quote contextl:special-object))) |
cx-special-class.lisp (file)
standard-direct-slot-definition (class)
slot-definition-specialp (method)
:special
slot-definition-specialp (generic function)
cx-special-class.lisp (file)
standard-effective-slot-definition (class)
cx-layered-class.lisp (file)
cx-layered-class.lisp (file)
layered-class (class)
cx-layered-class.lisp (file)
cx-layered-class.lisp (file)
cx-special-class.lisp (file)
standard-object (class)
standard-layer-object (class)
shared-initialize (method)
cx-class-in-layer.lisp (file)
standard-class (class)
special-layered-access-class (class)
:in, :in-layer
(quote t)
class-layer (generic function)
cx-class-in-layer.lisp (file)
standard-direct-slot-definition (class)
slot-definition-layer (method)
:in, :in-layer
(quote t)
slot-definition-layer (generic function)
cx-class-in-layer.lisp (file)
standard-effective-slot-definition (class)
slot-definition-layers (method)
(quote (t))
slot-definition-layers (generic function)
cx-layer-metaclasses.lisp (file)
contextl::original-name
layer-name (generic function)
Initarg | Value |
---|---|
:direct-superclasses | (list (find-class (quote contextl:standard-layer-object))) |
cx-layer-metaclasses.lisp (file)
special-object (class)
root-specializer (class)
Previous: Exported definitions, Up: Definitions [Contents][Index]
• Internal special variables: | ||
• Internal macros: | ||
• Internal compiler macros: | ||
• Internal functions: | ||
• Internal generic functions: | ||
• Internal structures: | ||
• Internal classes: |
Next: Internal macros, Previous: Internal definitions, Up: Internal definitions [Contents][Index]
cx-dynamic-variables.lisp (file)
cx-layer.lisp (file)
cx-threads.lisp (file)
cx-dynamic-variables.lisp (file)
cx-dynamic-environments.lisp (file)
cx-util.lisp (file)
cx-layered-access-class.lisp (file)
cx-util.lisp (file)
cx-singleton-class.lisp (file)
cx-layer.lisp (file)
cx-special-class.lisp (file)
cx-layered-class.lisp (file)
Next: Internal compiler macros, Previous: Internal special variables, Up: Internal definitions [Contents][Index]
cx-layer.lisp (file)
cx-layer.lisp (file)
cx-threads.lisp (file)
cx-threads.lisp (file)
Next: Internal functions, Previous: Internal macros, Up: Internal definitions [Contents][Index]
cx-threads.lisp (file)
Next: Internal generic functions, Previous: Internal compiler macros, Up: Internal definitions [Contents][Index]
cx-dynamic-variables.lisp (file)
cx-gc.lisp (file)
cx-threads.lisp (file)
Takes the name of a layered function caller and ensures that it can be retrieved again from the name of a corresponding definer.
cx-util.lisp (file)
cx-gc.lisp (file)
cx-gc.lisp (file)
cx-dynamic-variables.lisp (file)
cx-dynamic-variables.lisp (file)
cx-dynamic-environments.lisp (file)
cx-layer-metaclasses.lisp (file)
cx-threads.lisp (file)
cx-dynamic-variables.lisp (file)
cx-dynamic-variables.lisp (file)
Takes the name of a layer and returns its internal name.
cx-util.lisp (file)
cx-dynamic-environments.lisp (file)
cx-dynamic-environments.lisp (file)
cx-special-class.lisp (file)
cx-layer-metaclasses.lisp (file)
cx-layer-metaclasses.lisp (file)
cx-layer-metaclasses.lisp (file)
cx-layer-metaclasses.lisp (file)
cx-layer-metaclasses.lisp (file)
cx-layer-metaclasses.lisp (file)
Takes the name of a layered function definer
and returns the name of the corresponding caller.
cx-util.lisp (file)
Takes the name of a layered function caller
and returns the name of the corresponding definer.
cx-util.lisp (file)
cx-dynamic-variables.lisp (file)
cx-dynamic-environments.lisp (file)
cx-layer-metaclasses.lisp (file)
cx-threads.lisp (file)
cx-threads.lisp (file)
cx-util.lisp (file)
cx-util.lisp (file)
ensure that a binding form is ’well-formed’ to ease further processing
cx-dynascope.lisp (file)
cx-layer.lisp (file)
cx-layer.lisp (file)
cx-util.lisp (file)
cx-special-class.lisp (file)
cx-threads.lisp (file)
cx-threads.lisp (file)
cx-threads.lisp (file)
Next: Internal structures, Previous: Internal functions, Up: Internal definitions [Contents][Index]
cx-layer.lisp (file)
cx-layer.lisp (file)
cx-layered-access-class.lisp (file)
cx-layered-access-class.lisp (file)
cx-layered-access-class.lisp (file)
cx-layered-access-class.lisp (file)
cx-gc.lisp (file)
cx-gc.lisp (file)
automatically generated reader method
cx-dynamic-environments.lisp (file)
automatically generated reader method
cx-layered-access-class.lisp (file)
automatically generated writer method
cx-layered-access-class.lisp (file)
cx-threads.lisp (file)
cx-layered-access-class.lisp (file)
cx-layered-access-class.lisp (file)
automatically generated reader method
cx-singleton-class.lisp (file)
automatically generated writer method
cx-singleton-class.lisp (file)
automatically generated reader method
cx-special-class.lisp (file)
Next: Internal classes, Previous: Internal generic functions, Up: Internal definitions [Contents][Index]
cx-dynamic-variables.lisp (file)
structure-object (structure)
print-object (method)
dbox-value (function)
(setf dbox-value) (function)
cx-layer-metaclasses.lisp (file)
structure-object (structure)
standard-object
(error "no layer-context-prototype specified.")
layer-context-prototype (function)
(setf layer-context-prototype) (function)
contextl:standard-layer-class
(error "no layer-context-specializer specified.")
layer-context-specializer (function)
(setf layer-context-specializer) (function)
list
(quote nil)
layer-context-children/ensure-active (function)
(setf layer-context-children/ensure-active) (function)
list
(quote nil)
layer-context-children/ensure-inactive (function)
(contextl::make-lock :name "layer context")
layer-context-lock (function)
(setf layer-context-lock) (function)
cx-threads.lisp (file)
structure-object (structure)
map-symbol (method)
symbol-mapper-name (function)
(setf symbol-mapper-name) (function)
(make-hash-table :test (function eq) :weakness :key)
symbol-mapper-map (function)
(setf symbol-mapper-map) (function)
Previous: Internal structures, Up: Internal definitions [Contents][Index]
cx-layer-metaclasses.lisp (file)
cx-layer.lisp (file)
standard-layer-object (class)
cx-singleton-class.lisp (file)
standard-direct-slot-definition (class)
layer-direct-slot-definition (class)
:reinitialize
slot-definition-reinitializep (generic function)
(setf slot-definition-reinitializep) (generic function)
Previous: Definitions, Up: Top [Contents][Index]
• Concept index: | ||
• Function index: | ||
• Variable index: | ||
• Data type index: |
Next: Function index, Previous: Indexes, Up: Indexes [Contents][Index]
Jump to: | C F L |
---|
Jump to: | C F L |
---|
Next: Variable index, Previous: Concept index, Up: Indexes [Contents][Index]
Jump to: | %
(
=
A B C D E F G L M P R S W |
---|
Jump to: | %
(
=
A B C D E F G L M P R S W |
---|
Next: Data type index, Previous: Function index, Up: Indexes [Contents][Index]
Jump to: | %
*
C D L M N O P R S V |
---|
Jump to: | %
*
C D L M N O P R S V |
---|
Previous: Variable index, Up: Indexes [Contents][Index]
Jump to: | C D L P R S |
---|
Jump to: | C D L P R S |
---|