Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No recovery process for out of bounds error except to refresh the page #322

Open
Photon9 opened this issue Mar 13, 2023 · 1 comment
Open

Comments

@Photon9
Copy link

Photon9 commented Mar 13, 2023

Hey team,

I have found that should a user attempt to load an out of bounds value into the input the program will halt with no recovery.

Minimum reproducible example:

Input
Store X

Halt

X, DEC 0

The user will be prompted for input. With hexadecimal I input 10000. This brought up an input out of bounds error but offered no opportunity for recovery (whereas it is possible to get overflows or error messages with other values in an addition program).

@auroranil
Copy link
Member

We have released MARIE.js v2.0, and by running this program, I can confirm that the program does not throw an out of bounds error. Instead the 1 in ten-thousands place is ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants