Wiki
Version 7 (modified by Charles, 12 years ago)

--

Cobra 0.9.0 Release Notes

Since the last release there are almost too many improvements to list. You can browse the revision log online if you care too.

Some highlights just from the last few months include:

Language

  • Improvements to the @help directive.
  • Throw an UnpackException? for multi-target assignment (target1, target2 = source) if there is a mismatch in the number of source items and targets
  • Support unpacking the new Pair classes in assignments and for loops.
  • Enhance the treatment of == and <> between objects to fall back to a strongly type .equals method if a strongly typed .compareTo method is not available.
  • Bug fixes.

Library

  • Renamed "Cobra.Lang" to "Cobra.Core"
  • New MultiList? class.
  • New Pair<of TA, TB> and Pair<of T> clasess.
  • Improve the default formatting of the trace statement (which is also configurable).
  • Added Stack.clone extension method that preserves the ordering of the stack elements.
  • Bug fixes.

Command Line

  • Command line: -native-compiler: The absolute path to the native compiler is no longer required. A simple "csc.exe" or "dmcs" will suffice if it is in the system PATH.
  • Added -clr-platform option (like C#'s -platform option).

Learning

  • Added new How To: Customize Object Equality.
  • Kickstarted Cobra Koans.
  • Expanded the wiki.
  • Continued discussion and support in the forums.

Other

  • Installer improvements.
  • Expand the test suite.

See Also