Search the web
Sign In
New User? Sign Up
OSCAR-PROJECT · OSCAR is an open source REBOL interpreter
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Unicode Syntax Solved?   Message List  
Reply | Forward Message #1000 of 1031 |
Have just been browsing in Python Land and have seen
how they deal with unicode chars & strings and low
and behold it seems that the "u" prefix is how they
solve the unicode syntax problem.

So to keep as much REBOL compatability as possible
for PRIMO here is my latest suggestions for PRIMO
syntax for chars & strings & unicode * immutables
etc.

>> type? #"A"
== char!

>> type? #'A"
== unicode-char!

>> type? "" ; or {}
== string! ; ascii

>> type? ."" ; or .{}
== immutable-string!

>> type? u"" ; or u{}
== unicode-string!


>> type? .u"" ; or .u{}
== immutable-unicode-string!

>> type? []
== block!

>> type? .[]
== immutable-block!

This way deeply quoted strings etc would work just as
they currently do in REBOL and much compatibility could
be retained.

Is everyone agreeable?

cheers,

Mark Dickson






Mon Nov 5, 2001 5:19 pm

robbo1mark
Offline Offline
Send Email Send Email

Forward
Message #1000 of 1031 |
Expand Messages Author Sort by Date

Have just been browsing in Python Land and have seen how they deal with unicode chars & strings and low and behold it seems that the "u" prefix is how they ...
Robbo1Mark@...
robbo1mark
Offline Send Email
Nov 5, 2001
5:19 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help