Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

D.9 Build Options

# Default: single HTML file with embedded base64 WASM
python -m udewy.p0 -c --target wasm32 program.udewy

# Run the embedded HTML directly in your browser
python -m udewy.p0 --target wasm32 program.udewy

# Serve over HTTP instead of opening file:// directly
python -m udewy.p0 --target wasm32 --serve-wasm program.udewy

# Split mode: separate .wasm file (served automatically when run)
python -m udewy.p0 -c --target wasm32 --split-wasm program.udewy
python -m udewy.p0 --target wasm32 --split-wasm program.udewy

When served with --serve-wasm or --split-wasm, the local server exits automatically after the browser tab closes.