octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Matlab-compatible string class


From: Mike Miller
Subject: Re: Matlab-compatible string class
Date: Thu, 28 Dec 2017 12:39:52 -0800
User-agent: Mutt/1.9.2 (2017-12-15)

On Wed, Dec 27, 2017 at 17:47:50 -0500, John W. Eaton wrote:
> I
> don't see a smooth transition path.  Does anyone have any ideas about what
> to do?

If we agree that it's important to support Matlab's double quote syntax
eventually, then we should probably start by discouraging the use of
backslash-escaped sequences in double quoted strings and other likely
incompatibilities.

We can start to implement the string data type without changing the
meaning of double quoted literals. We can implement the string() and
strings() constructor functions to create string objects without the
need for any change in how double quotes are interpreted.

After the type is supported, then we can look at changing how the
interpreter handles the double quoted literal string.

-- 
mike

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]