Skip to main content

zigrun

Runs zig expressions, statements, and scripts directly from the command line.

Example

zigrun --expr -c '7 + 9'
> 16
# Shorthand for --expr -c
zigrun --eval '@sizeOf(u64)'
> 8
# Even shorter shorthand
zigrun -e '"Foo" ++ "Bar"'
> FooBar
zigrun --stmt <<EOF
std.debug.print("Foo: {}\n", .{6});
// Nice aliases
print("Bar: {}\n", .{6});
println("Foo", .{7});
EOF
> Foo: 6
> Bar: 7
> Foo: 7

Metadata

Release files for zigrun 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for zigrun 0.1.0
File Interpreter ABI Platform
zigrun-0.1.0-py3-none-any.whl Python 3 none any Details

Release files / zigrun-0.1.0-py3-none-any.whl

Download URL zigrun-0.1.0-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bd778fe6d442af117fbfdec017ee49bd4737a29b6f5d8779d0e80464da6f7670
BLAKE2b-256 checksum
How to use checksums
3606d46d5edd6a817a0aa1312d697306249df4edb4f23c8720e16a69d09d5c6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page