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

Special-case arrow-based words not recognized in set-word! or refinement! form #1478

Closed
Siskin-Bot opened this issue Feb 15, 2020 · 0 comments

Comments

@Siskin-Bot
Copy link
Collaborator

Submitted by: BrianH

The special-case words < > <> <= >= << >> are not recognized in set-word! form. They are recognized in word!, get-word! and lit-word! form as of alpha 97. but not yet set-word! form. They aren't recognized in refinement! form either.

Admittedly these words don't often get set or used as options in normal REBOL code, but this could be an issue for dialects and consistency.

>> to-set-word quote <
== <:
>> quote <:
** Syntax error: invalid "tag" -- "<:"
** Near: (line 1) quote <:
>> quote <>:
** Syntax error: invalid "word" -- "<>:"
** Near: (line 1) quote <>:
>> quote <<:
** Syntax error: invalid "word" -- "<<:"
** Near: (line 1) quote <<:
>> quote >>:
** Syntax error: invalid "word" -- ">>:"
** Near: (line 1) quote >>:
>> quote >:
** Syntax error: invalid "word" -- ">:"
** Near: (line 1) quote >:
>> quote >=:
** Syntax error: invalid "word" -- ">=:"
** Near: (line 1) quote >=:
>> quote <=:
** Syntax error: invalid "word" -- "<=:"
** Near: (line 1) quote <=:

>> /<
** Syntax error: invalid "refine" -- "/<"
** Near: (line 1) /<
>> />
** Syntax error: invalid "refine" -- "/>"
** Near: (line 1) />
>> /<>
** Syntax error: invalid "refine" -- "/<"
** Near: (line 1) /<>
>> /<=
** Syntax error: invalid "refine" -- "/<"
** Near: (line 1) /<=
>> />=
** Syntax error: invalid "refine" -- "/>"
** Near: (line 1) />=
>> /<<
** Syntax error: invalid "refine" -- "/<"
** Near: (line 1) /<<
>> />>
** Syntax error: invalid "refine" -- "/>"
** Near: (line 1) />>

Imported from: CureCode [ Version: alpha 97 Type: Bug Platform: All Category: Syntax Reproduce: Always Fixed-in:none ]
Imported from: metaeducation#1478

Comments:


Rebolbot mentioned this issue on Jan 12, 2016:
Words starting with +, - or . won't load in refinement form


Rebolbot added the Type.bug on Jan 12, 2016


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants