rustpython 0.1.1

A python interpreter written in rust.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

set -e

cargo=${1:-Cargo.toml}

tmpfile=$(mktemp)

awk '
/REDOX START/{redox=1; print; next}
/REDOX END/{redox=0}
{if (redox) sub(/^#\s*/, ""); print}
' "$cargo" >"$tmpfile"

mv "$tmpfile" "$cargo"