Newbie question concerning strings

Peter Van Roy pvr at info.ucl.ac.be
Wed Jan 12 09:51:48 CET 2005


Dear Chris,

Appendix C of the CTM book gives the syntax of atoms and strings (see 
pages 840-1).
As Yves says, start is an atom, not a string.  It doesn't have to be 
quoted because it is
not a keyword.

You can also look at 'The Oz Notation' manual which is part of the 
Mozart documentation
at http://www.mozart-oz.org/documentation/notation/index.html

All the best,

Peter


ChrisRathman.6335977 at bloglines.com wrote:

>In the CTM book, an example is given on threads which prints to browser in
>the form of:
>
>   {Browse start}
>
>Which in playing around seems to be equivalent
>to:
>
>   {Browse 'start'}
>
>In playing around further, it appears that a
>word is automatically assumed to be a string if it begins with a lower case
>alpha character and has alphanumeric or _ in the remaining positions.
>
>Was
>wondering what the rules for parsing this as a string are for Mozart/Oz?
>
>Thanks,
>Chris Rathman
>





More information about the mozart-users mailing list