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.
- Per-file execution context.
-
Lpeg Grammar for parsing
alive
code. - Result interface and implementations.
- Type definitions (type.Type and implementations).
- General utilities
-
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.
- Stateless Operator base for pure functions.
- S-Expression Cell, implements the AST interface.
- File watcher and runtime entrypoint.
- CLI Copilot entrypoint.
- fltk4lua Copilot GUI.
- löve Copilot entrypoint.
- Editor Integration UDP Server
- wxLua Copilot GUI.
- Dummy AST Node.
- Language error and traceback.
- Logger implementation.
- Tag Registry.
- base Result interface.
- Constant Value.
- Stream of momentary events.
- Continuous stream of values.
- RTNode of evaluating an expression.
-
Mapping from
sym
s to RTNodes. - Identity provider for Cells and Builtins.
- A string with substitutions, partially implements the AST interface.