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)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|