Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
starlark
The starlark command interprets a Starlark file.
|
The starlark command interprets a Starlark file. |
internal
|
|
chunkedfile
Package chunkedfile provides utilities for testing that source code errors are reported in the appropriate places.
|
Package chunkedfile provides utilities for testing that source code errors are reported in the appropriate places. |
compile
Package compile defines the Starlark bytecode compiler.
|
Package compile defines the Starlark bytecode compiler. |
spell
Package spell file defines a simple spelling checker for use in attribute errors such as "no such field .foo; did you mean .food?".
|
Package spell file defines a simple spelling checker for use in attribute errors such as "no such field .foo; did you mean .food?". |
lib
|
|
json
Package json defines utilities for converting Starlark values to/from JSON strings.
|
Package json defines utilities for converting Starlark values to/from JSON strings. |
math
Package math provides basic constants and mathematical functions.
|
Package math provides basic constants and mathematical functions. |
proto
Package proto defines a module of utilities for constructing and accessing protocol messages within Starlark programs.
|
Package proto defines a module of utilities for constructing and accessing protocol messages within Starlark programs. |
proto/cmd/star2proto
The star2proto command executes a Starlark file and prints a protocol message, which it expects to find in a module-level variable named 'result'.
|
The star2proto command executes a Starlark file and prints a protocol message, which it expects to find in a module-level variable named 'result'. |
time
Package time provides time-related constants and functions.
|
Package time provides time-related constants and functions. |
Package repl provides a read/eval/print loop for Starlark.
|
Package repl provides a read/eval/print loop for Starlark. |
Package resolve defines a name-resolution pass for Starlark abstract syntax trees.
|
Package resolve defines a name-resolution pass for Starlark abstract syntax trees. |
Package starlark provides a Starlark interpreter.
|
Package starlark provides a Starlark interpreter. |
Package starlarkjson is an alias for go.starlark.net/lib/json to provide backwards compatibility
|
Package starlarkjson is an alias for go.starlark.net/lib/json to provide backwards compatibility |
Package starlarkstruct defines the Starlark types 'struct' and 'module', both optional language extensions.
|
Package starlarkstruct defines the Starlark types 'struct' and 'module', both optional language extensions. |
Package starlarktest defines utilities for testing Starlark programs.
|
Package starlarktest defines utilities for testing Starlark programs. |
Package syntax provides a Starlark parser and abstract syntax tree.
|
Package syntax provides a Starlark parser and abstract syntax tree. |
Click to show internal directories.
Click to hide internal directories.