Skip to content

0.6.0 Functionalization Update

Compare
Choose a tag to compare
@AIexandrKotov AIexandrKotov released this 22 Jan 17:56
· 127 commits to master since this release
cf44653

REPL 1.2.0

New:
    - Running files
    - Collapsing of aliases
For LANG 0.3.0+:
    - Fixed context output recursion
      in lists, tuples and dictionaries
    - Fixed nulls output

SLThree 0.6.0 Functionalization Update

Language:
    - Pipe operator `x |> y()`
    - try-catch-finally statement, throw statement
    - Null conditional operators `x?.y`, `x?[y]`, `x?()`
    - Null coalescing operator `a ?? b`
    - Safe expression `err -? a`
    - Range expression `x..y`
    - New choosers syntax `^x..y`, `*[x, y]`
    - Array constructor `new T[size]`
    - Last `,` ignoring in creators `[1, ]`, `(1, )`
    - Similarity of new context and context statement
    - Typing refactoring (similar `T`s in `new T`, `as T`, `is T`, etc.)
    - Foreach expression now supports `x[y]`, `(x, y)`, `x.y`
    - Indexators for context `self["varname"]`, IEnumerable implementation
    - `upper`->`super`, new special context `upper` (previous context)
    - single statements `if/while/etc. (...) statement;` (including else if)
Bugfixes:
    - Returning contextes and tuples from methods now works
    - Fixed lazy of ternary operator
    - Fixed raws of string and char
    - Fixed `x.y(a, b)(c, d)` case where x is class access