Preview 3 – Build 570
Pre-release
Pre-release
The third preview release of the compiler.
Changes and new features
CLI
- Suport for compiler extensions along with new command
dc package
- New command
dc scratchpad
to run code directly from the console - New command
dc run
to automatically compile and run projects - Support for project groups, along with new command
dc deploy
- New command
dc clean
to clear build artifacts and temporary files - Added
-o
flag todc help
command to show a list of project configuration options, along with new single-letter shorthands - Error message redesign
Project and build system
- Support for AOT (ahead-of-time) compilation
Language features
- Pass by reference
- Generic types
- Template types, abstract members
- Function pointers (lambda expressions)