Skip to content

Bug/reader #821

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

Merged
merged 4 commits into from
Sep 2, 2022
Merged

Bug/reader #821

merged 4 commits into from
Sep 2, 2022

Conversation

seanpearsonuk
Copy link
Collaborator

@seanpearsonuk seanpearsonuk commented Sep 2, 2022

  • skip bad scheme input in lispy.py: `(define "string not symbol")'. Before this change, it raises an exception, aborting the whole read. The read can still be salvaged.
  • allow e.g. (define x). Before this change, only e.g. (define x value) is possible
  • make input parameter search more flexible in case reader
  • add some lispy tests relevant to the above
  • extended case reader testing with the case from the issue.N.b. before the lispy changes, the read raises an exception; before the reader changes, the input parameters are empty. N.b. the case contains gobbledygook.

#788 is fixed with this.

@seanpearsonuk seanpearsonuk merged commit 3b52260 into main Sep 2, 2022
@seanpearsonuk seanpearsonuk deleted the bug/reader branch September 2, 2022 14:50
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.

4 participants