Implement a Forth-like interpreter in Python, single file forth.py, stdlib only. Words: integer literals, +…
Implement a Forth-like interpreter in Python, single file forth.py, stdlib only. Words: integer literals, +…: a task in traj2envs-rl: RL tasks generated with traj2envs (Harbor dataset). Project root is /workspace (or $WORKSPACE when set). The implementation must be a single stdlib-only Python file…
The task
Project root is `/workspace` (or `$WORKSPACE` when set). The implementation must be a single stdlib-only Python file at the project root: `forth.py`, importable as module `forth` when `/workspace` or `/workspace/src` is on `sys.path`.
Part of harness-hub/traj2envs-rl.