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

[Feature Request] 'In' as synonym for operator 'Contains' #266

Open
CorwinMacGregor opened this issue Jul 1, 2023 · 0 comments
Open

[Feature Request] 'In' as synonym for operator 'Contains' #266

CorwinMacGregor opened this issue Jul 1, 2023 · 0 comments
Labels
documentation Improvements or additions to documentation feature request New feature or request

Comments

@CorwinMacGregor
Copy link
Contributor

With several other natural (LambdaMoo Lcode) and natural-like (Lua) languages I have programmed in, the operator which corresponds to EasyCommands' 'Contains' is tokened as 'In'. This synonym lends itself to similarly precise meaning, while simultaneously resulting in smaller Easyscript size (by virtue of fewer characters)

use in context of a 'For Each' command shouldn't be ambiguous, as typically logical expressions are not utilized as primary evaluators of any arguments expected by a 'For Each' command. In edge cases where it might, style should strongly encourage and/or syntax should require use of parens to force context

@CorwinMacGregor CorwinMacGregor added documentation Improvements or additions to documentation feature request New feature or request labels Jul 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation feature request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant