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

Suggest corrections when invalid code is provided #1583

Open
Rangi42 opened this issue Dec 26, 2024 · 1 comment
Open

Suggest corrections when invalid code is provided #1583

Rangi42 opened this issue Dec 26, 2024 · 1 comment
Assignees
Labels
enhancement Typically new features; lesser priority than bugs rgbasm This affects RGBASM
Milestone

Comments

@Rangi42
Copy link
Contributor

Rangi42 commented Dec 26, 2024

See ISSOtm/rsgbds#7.

Most of those are currently unparseable syntax errors. However, just as ld [hl], [hl] is unavoidable a valid parse but is still an error, so those could be too (with more helpful specific error messages).

@Rangi42 Rangi42 added enhancement Typically new features; lesser priority than bugs rgbasm This affects RGBASM labels Dec 26, 2024
@Rangi42 Rangi42 added this to the 0.9.1 milestone Dec 26, 2024
@Rangi42 Rangi42 self-assigned this Dec 26, 2024
@Rangi42
Copy link
Contributor Author

Rangi42 commented Dec 31, 2024

Along the same lines, we could check gbdev and pret for frequently-asked questions -- like "I got this error, what does it mean" -- and improve those error messages to explain better or provide suggestions. (Section/bank overflows are a big one in pret; new devs also often don't understand "Expression must be 8-bit".)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Typically new features; lesser priority than bugs rgbasm This affects RGBASM
Projects
None yet
Development

No branches or pull requests

1 participant