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

Sanitize ?s in words/labels #1773

Merged
merged 9 commits into from
Oct 18, 2024
Merged

Conversation

drkameleon
Copy link
Collaborator

Description

Question marks, by convention or not, are meant to add some variant of an existing symbol; or simply denote a predicate (= function that returns a Logical value).

That being said, the only place where this would make sense would be at the very end of a word. (e.g. something?). Anything else should be disallowed. And, of course, we shouldn't allow more than one ? within a word - yes, believe it or not this is absolutely a Word right now: something?anotherone??.

Let's start untangling this mess.

Type of change

  • Code cleanup
  • Enhancement (implementation update, or general performance enhancements)

@drkameleon drkameleon added parser Issues related to the evaluator (src/vm/parse.nim) enhancement New feature or request labels Oct 18, 2024
@github-actions github-actions bot removed the parser Issues related to the evaluator (src/vm/parse.nim) label Oct 18, 2024
@github-actions github-actions bot added the unit-test Unit tests label Oct 18, 2024
@github-actions github-actions bot added vm Issues related to the Virtual Machine implementation parser Issues related to the evaluator (src/vm/parse.nim) labels Oct 18, 2024
@drkameleon
Copy link
Collaborator Author

Ready to merge! 🚀

@drkameleon drkameleon merged commit 32024ce into master Oct 18, 2024
14 checks passed
@drkameleon drkameleon mentioned this pull request Oct 18, 2024
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request parser Issues related to the evaluator (src/vm/parse.nim) unit-test Unit tests vm Issues related to the Virtual Machine implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant