Help us shape the future of Go! Take the 2026 Go Developer Survey

loop

package
v0.57.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package loop provides the `loop(body) until(cond)` keyword. It is a KeywordPrimary: the parser dispatches on the "loop" identifier when this bundle is registered.

Typical use:

{ n: 0 } -> loop( { n: .n + 1 } ) until( .n >= 3 )

DSL fixtures live under nflows/ and are discovered by compiler.Bundle.AllSelfTests; there is no inline SelfTest.

Index

Constants

View Source
const ID = "loop"

Variables

This section is empty.

Functions

func Bundle

func Bundle(_ map[string]string) compiler.Bundle

Types

This section is empty.

Jump to

Keyboard shortcuts

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