Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.compilers > #1555 > unrolled thread
| Started by | rk3314042@gmail.com |
|---|---|
| First post | 2015-05-30 00:11 -0400 |
| Last post | 2015-05-30 00:11 -0400 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.compilers
ANN: Ctalk 0.0.55 2015-05-27 Released rk3314042@gmail.com - 2015-05-30 00:11 -0400
| From | rk3314042@gmail.com |
|---|---|
| Date | 2015-05-30 00:11 -0400 |
| Subject | ANN: Ctalk 0.0.55 2015-05-27 Released |
| Message-ID | <15-05-006@comp.compilers> |
Ctalk release 0.0.55 2015-05-26 adds overloaded math operators for
String, Collection, and Key objects, and members of their subclasses.
The overloaded operators provide a compact way to manage object
references. Among other uses, the references can act as ad-hoc
iterators, as in programs like this one.
List new aList;
Key new aKey;
aList push "item1";
aList push "item2";
aList push "item3";
aKey = *aList;
do {
printf ("%s\n", *aKey);
} while (++aKey);
Note that *aList refers to the first member of the list, which is a
collection key, while *aKey refers to the key's content, which is a
String object. So an expression like **aList returns the first String
in aList.
The source code for this release is downloadable at:
http://sf.net/projects/ctalk/files/Releases/ctalk-0.0.55-2015-05-26.tar.gz
Also new in this release are many methods, like String : chomp and
Object : isSubclassOf, as well as the methods that overload math
operators, including +, -, ++, --, +=, -=, !, and *. Methods in the
Collection hierarchy are now more consistent, and a few duplicate
methods were removed.
There's also an upgraded version of the, "methods," utility, and the
chaser.c example program, which displays a side scrolling message in a
terminal window.
To find out more the recent Ctalk releases, check out the Ctalk Wiki,
at: http://sf.net/p/ctalk/wiki/Home
Ctalk Mailing List: If you would like to receive announcements of Ctalk
releases by e-mail, you can subscribe to the ctalk-announce mailing list. For
information, refer to the list information page at https://lists.sourceforge.net
/lists/listinfo/ctalk-announce/.
Back to top | Article view | comp.compilers
csiph-web