Documentation
¶
There is no documentation for this package.
Directories
¶
| Path | Synopsis |
|---|---|
|
bench
|
|
|
callbacks
command
Functions as values: closures, composition, and list helpers that call back into a function for every element.
|
Functions as values: closures, composition, and list helpers that call back into a function for every element. |
|
fib
command
Naive recursive Fibonacci: measures function call overhead.
|
Naive recursive Fibonacci: measures function call overhead. |
|
hanoi
command
Towers of Hanoi: deep recursion with three arguments, moves are counted instead of printed so the output stays small.
|
Towers of Hanoi: deep recursion with three arguments, moves are counted instead of printed so the output stays small. |
|
logparse
command
Log line parsing: string building, trimming, splitting, prefix tests and integer conversion, with the results counted in a map.
|
Log line parsing: string building, trimming, splitting, prefix tests and integer conversion, with the results counted in a map. |
|
mandelbrot
command
Mandelbrot set rendered as ASCII: a float-heavy inner loop.
|
Mandelbrot set rendered as ASCII: a float-heavy inner loop. |
|
matmul
command
Dense matrix multiplication: nested loops over indexed 2-D slices.
|
Dense matrix multiplication: nested loops over indexed 2-D slices. |
|
nqueens
command
N-Queens: recursive backtracking with an O(row) safety check.
|
N-Queens: recursive backtracking with an O(row) safety check. |
|
objects
command
User-defined types: construction, method calls, field reads and writes, and an Add method standing in for Goblin's overloaded operator.
|
User-defined types: construction, method calls, field reads and writes, and an Add method standing in for Goblin's overloaded operator. |
|
sieve
command
Sieve of Eratosthenes: tight loops over a large flat array.
|
Sieve of Eratosthenes: tight loops over a large flat array. |
|
wordfreq
command
Word frequency counting: string split, map updates, and a sort with a key.
|
Word frequency counting: string split, map updates, and a sort with a key. |
|
internal/archive
Package archive holds the plumbing shared by the x/archive modules: the ordered entry list, argument parsing, and the buffer-or-dest sink.
|
Package archive holds the plumbing shared by the x/archive modules: the ordered entry list, argument parsing, and the buffer-or-dest sink. |
|
internal/compress
Package compress holds the shared plumbing of the whole-value compression modules under x/compress: argument parsing, the common module member set, and the buffer-or-dest write path.
|
Package compress holds the shared plumbing of the whole-value compression modules under x/compress: argument parsing, the common module member set, and the buffer-or-dest write path. |
|
internal/digest
Package digest holds the argument plumbing shared by the digest and checksum stdlib modules (x/crypto/* and x/hash/*).
|
Package digest holds the argument plumbing shared by the digest and checksum stdlib modules (x/crypto/* and x/hash/*). |
|
internal/modtest
Package modtest holds the helpers shared by the stdlib module package tests.
|
Package modtest holds the helpers shared by the stdlib module package tests. |
|
regexp
Package regexp exposes Go's RE2-based regular expression engine to Goblin.
|
Package regexp exposes Go's RE2-based regular expression engine to Goblin. |
|
url
Package url adapts Go's net/url package to Goblin.
|
Package url adapts Go's net/url package to Goblin. |
|
x/net/netip
Package netip adapts Go's net/netip value types to Goblin.
|
Package netip adapts Go's net/netip value types to Goblin. |
|
Package interpreter provides a tree-walking interpreter for Goblin.
|
Package interpreter provides a tree-walking interpreter for Goblin. |
|
Package source wraps the generated lexer constructors so every way of loading Goblin code goes through the same normalization.
|
Package source wraps the generated lexer constructors so every way of loading Goblin code goes through the same normalization. |
Click to show internal directories.
Click to hide internal directories.