REBOL3 tracker
  0.9.12 beta
Ticket #0001477 User: anonymous

Project:



rss
TypeBug Statussubmitted Date8-Feb-2010 02:24
Versionalpha 97 CategorySyntax Submitted byBrianH
PlatformAll Severityminor Prioritynormal

Summary Special-case / words not recognized in lit-word!, get-word! or set-word! form
Description One or more / characters in a sequence, surrounded by delimiters, is a special case of word! syntax. That same special case should be accepted for lit-word!, get-word! and set-word! syntax. MOLD TO-LIT-WORD generates the proper lit-word! syntax, but LOAD doesn't recognize it.
Example code
>> to-lit-word quote /
== '/
>> quote '/
** Syntax error: invalid "word-lit" -- "'"
** Near: (line 1) quote '/
>> quote /:
** Syntax error: invalid "word-get" -- ":"
** Near: (line 1) quote /:
>> quote :/
** Syntax error: invalid "word-get" -- ":"
** Near: (line 1) quote :/
>> quote '//
** Syntax error: invalid "word-lit" -- "'"
** Near: (line 1) quote '//
>> quote //:
** Syntax error: invalid "word-get" -- ":"
** Near: (line 1) quote //:
>> quote ://
** Syntax error: invalid "word-get" -- ":"
** Near: (line 1) quote ://

; And so on

Assigned ton/a Fixed in- Last Update8-Feb-2010 02:43


Comments

Date User Field Action Change
8-Feb-2010 02:43 BrianH Summary Modified '/ not recognized as lit-word! => Special-case / words not recognized in lit-word!, get-word! or set-word! form
8-Feb-2010 02:43 BrianH Description Modified -
8-Feb-2010 02:43 BrianH Code Modified -
8-Feb-2010 02:24 BrianH Ticket Added -