Wiki

Changes between Version 3 and Version 4 of ReleaseNotes_0.9.5

Show
Ignore:
Timestamp:
12/07/13 19:42:43 (11 years ago)
Author:
Charles
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ReleaseNotes_0.9.5

    v3 v4  
    1515== IDE == 
    1616 
    17 One of the most notable recent developments for Cobra is actually outside the compiler. The Cobra add-in for MonoDevelop / XamarinStudio offers syntax highlighting, background compilation, member completion suggestions, parameter completion, mouseover tooltips and go to declaration. 
     17One of the most notable recent developments for Cobra is actually outside the compiler. The Cobra add-in for MonoDevelop / XamarinStudio offers 
     18 * syntax highlighting 
     19 * background compilation 
     20 * member completion suggestions 
     21 * parameter completion 
     22 * mouseover tooltips 
     23 * go to declaration 
    1824 
    1925 
    2026== Language == 
     27 
     28 * Support optional and named parameters. For example: 
     29{{{ 
     30#!cobra 
     31class X 
     32 
     33    def main 
     34        .show('foo') 
     35        .show('bar', 5) 
     36        .show('baz', count = 3) 
     37        .show(s='can', count = 2) 
     38 
     39    def show(s as String, count as int = 2) 
     40        for i in count, print s 
     41        print 
     42}}} 
    2143 
    2244 * Added modifier sections in type declarations. For example: 
     
    3557    def baz 
    3658        pass 
    37 }}} 
    38  
    39  * Support optional and named parameters. For example: 
    40 {{{ 
    41 class X 
    42  
    43     def main 
    44         .show('foo') 
    45         .show('bar', 5) 
    46         .show('baz', count = 3) 
    47         .show(s='can', count = 2) 
    48  
    49     def show(s as String, count as int = 2) 
    50         for i in count, print s 
    51         print 
    5259}}} 
    5360