devicefuture / atto

The new BASIC computer that runs in your browser!
https://atto.devicefuture.org
MIT License
47 stars 8 forks source link

Handle negatives #1

Closed James-Livesey closed 3 years ago

James-Livesey commented 3 years ago

When running print -1, atto freezes. This is because the first value has no token. This should instead be checked, and if the first value is tokenless, then it should be 0.