|
A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
|
#include "a11/flow/interpreter/interpreter.h"#include <cstdint>#include <memory>#include <optional>#include <string>#include <string_view>#include <utility>#include <vector>#include <absl/status/status.h>#include <absl/status/status_macros.h>#include <absl/status/statusor.h>#include <absl/strings/numbers.h>#include <absl/strings/str_cat.h>#include <absl/time/clock.h>#include <absl/time/time.h>#include "a11/actions/action.h"#include "a11/actions/registry.h"#include "a11/actions/schema.h"#include "a11/concurrency/future.h"#include "a11/data/types.h"#include "a11/flow/plan.h"#include "a11/flow/runtime.h"#include "a11/flow/syntax.h"#include "a11/nodes/async_node.h"#include "a11/nodes/node_map.h"#include "a11/service/session.h"#include "sdk/flow/actions/flow_actions.h"#include "sdk/flow/actions/policy.h"#include "sdk/flow/actions/system_actions.h"Namespaces | |
| namespace | a11 |
| namespace | a11::flow |
| namespace | a11::flow::interpreter |
Functions | |
| absl::Status | a11::flow::interpreter::RegisterStandardLibrary (actions::ActionRegistry ®istry, const sdk::flow::CapabilitiesPtr &capabilities, bool standard_streams) |
Registers the standard library on registry, under capabilities. | |
| absl::StatusOr< RunOutcome > | a11::flow::interpreter::Check (const Source &source) |
Compiles source and says what its entry flow is, running nothing. | |
| absl::StatusOr< std::string > | a11::flow::interpreter::DescribeEntry (const Source &source) |
The entry flow's ports, as text a person reads. Used by --check. | |
| absl::StatusOr< RunOutcome > | a11::flow::interpreter::Run (const Source &source, const RunOptions &options) |
Compiles source and runs its entry flow to completion. | |