Strings

new topic     » goto parent     » topic index » view thread      » older message » newer message

Okay, so I'm going to propose two things with regards to strings. Even though I
said that I wouldn't propose new stuff. Plus, I suppose it could be handled by
ESL (once we get around to it) if it isn't implemented internally (preferred0.

A string built-in data type with:
Byte-size ASCII strings. For Kat, since she can't have goto.
Unicode UTF-8 strings.
One built-in type should be able to handle both.

Atom has integer as a subclass for efficiency. I think that sequence can have
string as a subclass as well, since strings are a "basic" type in most
programming projects. Strings can be up-cast to sequences, like integers can be
up-cast to atoms.

One question: are string constants stored as byte-strings or as DWORD-strings in
the Euphoria interpreter?

--
"Any programming problem can be solved by adding a level of indirection."
--anonymous
"Any performance problem can be solved by removing a level of indirection."
--M. Haertel
"Premature optimization is the root of all evil in programming."
--C.A.R. Hoare
j.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu