Release Notes

Cobra Release 0.7.2

Cobra 0.7.2 adds multiple integer types (int64, uint16, etc.), includes better setup instructions for Windows and fixes a handful of bugs.

Language Improvements

Multiple Int Types

Added initial support for the different int types: int8, int16, int32, int64, uint8, uint16, uint32, uint64. The types int and uint are still available and still the most common way to refer to integers.

class X def main is shared # you can typecast a literal to force the type: x = 1 to int64 print x def compute(x as int64, y as int64) as int64 pass

Miscellaneous

Windows Install Instructions

Added more instructions for installation/setup in the Windows distribution. (Users of Unix-like systems already had instructions and an install script.)

Fixes

words = for word in words where word.trim.length
if node inherits SpecialNode node = node.parentNode # where .parentNode returns a Node