buzz

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2026 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package buzz adapts the standalone Buzz interpreter (magus/gopherbuzz) to magus's engine.Engine/engine.Session interfaces and registers it under the "buzz" key. The interpreter core has no dependency on magus; this package is the only seam between the two, translating engine.Value ↔ buzz.Value.

magus's own buzz execution path (interp.runtime) drives the concrete *buzz.Session directly for Exec/Targets/CallVal, which the engine.Session interface doesn't expose; this adapter exists for generic engine.Session consumers (e.g. the cross-engine benchmark and any tooling that enumerates the engine registry).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Wrap

func Wrap(c *core.Session) engine.Session

Wrap adapts a live core.Session to the generic engine.Session (plus the optional REPL/debug interfaces). magus.pry() uses it to hand the session that is running a magusfile.buzz to the shared Pry REPL.

Types

This section is empty.

Jump to

Keyboard shortcuts

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