awkbuilder

command module
v0.0.0-...-7ff6432 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2026 License: MIT Imports: 16 Imported by: 0

README

awkbuilder

Local web UI for visually constructing, tracing, and verifying awk programs.

Run AWK code

Trace what happened

Setup

Requires Go 1.26+.

go install github.com/99-not-out/awkbuilder@latest

Or from a clone:

git clone https://github.com/99-not-out/awkbuilder.git
cd awkbuilder
go build ./...

Run

awkbuilder [flags] [files-or-globs...]

Flags:

  • -port N — listen on port N (default 0 picks a free port)
  • -no-open — don't auto-open the browser
  • -limit N — cap records read per input file (default 0 = no cap)

Example with the bundled samples:

awkbuilder samples/access.log samples/users.csv

The server prints the URL it's bound to, and (unless -no-open) opens it in your default browser.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
lint
Package lint flags non-POSIX constructs in an awk program so the user knows which parts may fail under the awk they'll ship to.
Package lint flags non-POSIX constructs in an awk program so the user knows which parts may fail under the awk they'll ship to.
program
Package program defines the structured awk program model used by the awkbuilder UI, plus a one-way compiler that renders it to awk source.
Package program defines the structured awk program model used by the awkbuilder UI, plus a one-way compiler that renders it to awk source.
runner
Package runner wraps goawk: parse a source program, execute it against a set of input files, and stream both stdout output and structured trace events to a callback.
Package runner wraps goawk: parse a source program, execute it against a set of input files, and stream both stdout output and structured trace events to a callback.
verify
Package verify runs the compiled awk program against a system-awk binary (awk / gawk / mawk as available) and compares the output with goawk's.
Package verify runs the compiled awk program against a system-awk binary (awk / gawk / mawk as available) and compares the output with goawk's.

Jump to

Keyboard shortcuts

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