Repository navigation
Preview 5 – Build 658
Pre-release
Pre-release
The fifth preview release of the compiler.
Changes and new features
CLI
- Improved
dc watchcommand with more options
Project system
Importattribute
Standard library
- Type aliases
int128,uint128,float16,Vector[T]andArray[T, 'D] - Operators
<=>(three-way comparison),==>(implication),!&(NAND) and!|(NOR) assertfunction- Reintroduction of
Processmodule utf8string processor
Language features
- New type alias system
- Events
$lockstatement- Full support for attributes with arguments; Attribute targets
- Inline union types of form
(A | B) - Support for referring to tuple types using
(A, B)syntax - String processors
- Repetition operator
*on strings and lists - Allow mixing of top-level code and type declarations
statictop-level functions- List initialization from range (e.g.
[1..10])