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

Conditions #9

Merged
merged 9 commits into from
Oct 3, 2023
Merged

Conditions #9

merged 9 commits into from
Oct 3, 2023

Conversation

Bike
Copy link
Member

@Bike Bike commented Oct 3, 2023

Better errors when the compiler is given syntactically invalid code.

There's more to be done cleaning things up, and probably some work should go into the compile-file end of things.

Bike added 9 commits October 2, 2023 22:52
Messages need work. Also need to check for circular lists and
some other stuff.
Some of the error messages they signal are pretty bad, but an
unclear error is preferable to silently accepting invalid code.
Also, testing error messages might be awkward, because
I'd like to let clients do the thing where invalid code is replaced
by a "compiler failed on this" form, so COMPILE still returns a
function. If they want. Eventually.

Still need to test circular lists but ehhhhh.
@Bike Bike merged commit 305eb00 into main Oct 3, 2023
2 checks passed
@Bike Bike deleted the conditions branch October 3, 2023 20:52
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

Successfully merging this pull request may close these issues.

1 participant