Details
-
Type:
New Feature
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Parser
-
Labels:None
-
Environment:(Independent)
-
Testcase included:yes
-
Number of attachments :
Description
Boo should support Python's syntax for escaped ASCII values within string literals (is there any alternative syntax for this already?)
Ex:
>>> print "\x50"
P
Boo accepts the standard C#/VBNET notation that uses \u (for two-byte unicode encoded as UTF-16 which is the internal .NET format):
>> print "\u0050"
P
I think there is no need to add another notation, specially one that allows ambiguous interpretation of characters if you doesn't tell the compiler explicitly in which encoding the source is.