The Cobra Programming Language Version 0.0.2 Release Notes 2006-02-10 ------------------------------------------------------------------------------ See also: Cobra\ReadMe.text Cobra\Docs\License.text http://CobraLang.com/ In this release: * Enums. These work at the namespace level and inside classes. enum Color Red Green Blue class Foo enum Direction Up = 1 Down = -1 def bar c as Color = Color.Red ... * Shared class variables. (Called 'static' in C# and 'shared' in VB.) See below for an example. * Enforce some basic style guidelines: classes are capitalized, local variables are not, etc. * New keywords: virtual override cue every all. The last two are not yet used, but may be in the future which is why they are being reserved. * New 'shared' block syntax for declaring multiple items that are shared: class Foo shared var _msg as String var _count as int def main pass def bar(int x) pass * "def construct" and "def destruct" are now "cue construct" and "cue destruct". Besides highlighting special features, the word "cue" ensures that future cues won't clash with your method names. * More error checking, bugfixes and minor improvements. ------------------------------------------------------------------------------