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

Open
rebolbot opened this issue Feb 8, 2010 · 0 comments
Labels

Comments

@rebolbot
Copy link
Collaborator

rebolbot commented Feb 8, 2010

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) />>

CC - Data [ Version: alpha 97 Type: Bug Platform: All Category: Syntax Reproduce: Always Fixed-in:none ]

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

No branches or pull requests

1 participant