Skip to content

ZPyPython-like language in Zig

Fast, lightweight, and embeddable scripting language

Quick Start

bash
# Clone and build
git clone https://github.com/shishtpal/zpy.git
cd zpy
zig build

# Run a script
./zig-out/bin/zpy script.zpy

# Start interactive REPL
./zig-out/bin/zpy

Example

python
# Define a function
def greet(name):
    print("Hello,", name)

# Call it
greet("World")

# Lists and loops
numbers = [1, 2, 3, 4, 5]
for n in numbers:
    print(n * 2)

Released under the MIT License.