alive
developer documentation
This section documents the implementation of the alive language and copilot. It is relevant to everyone who is looking to modify, improve or extend alive with new modules, language or interpreter features.
If you are looking for the language reference for users, head over to the reference section of the documentation.
modules
- Base definitions for extensions.
- Pattern capturing for Op argument parsing.
- Builtin Builtins and Ops.
-
alive
public API. - Builtins for invoking Ops and FnDefs.
-
Lpeg Grammar for parsing
alive
code. - Stream interface and implementations.
-
alive
source code version information.
classes
- AST Node Interface.
- Builtin / Special Form evaluation Strategy (builtin).
-
user-function definition (
fndef
). - Update scheduling policy for Op arguments.
- Persistent expression Operator.
- S-Expression Cell, implements the AST interface.
- File watcher and CLI entrypoint.
- Language error and traceback.
- Logger implementation.
- Per-file execution context.
- Tag Registry.
- Result of evaluating an expression.
-
Mapping from
sym
s to Results. - base Stream interface.
- Stream of momentary events.
- Stream of external side-effects.
- Continuous stream of values.
- Identity provider for Cells and Builtins.