eval

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package eval provides the high-level evaluation interface for executing Ale code. It coordinates the compilation pipeline and virtual machine execution, offering a clean API for evaluating Ale expressions and managing evaluation contexts within specific environments.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Block

func Block(ns env.Namespace, s data.Sequence) (ale.Value, error)

Block evaluates a Sequence that a call to eval.String might produce

func String

func String(ns env.Namespace, src data.String) (ale.Value, error)

String evaluates the specified raw source

func Value

func Value(ns env.Namespace, v ale.Value) (ale.Value, error)

Value evaluates the provided Value

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL