Releases: loschsoftware/dc
Releases · loschsoftware/dc
Preview 4 – Build 619
The fourth preview release of the compiler.
Changes and new features
CLI
- New command
analyze
for basic code analysis - New command
clean
to delete build artifacts
Language features
- Primary constructors
- Operator overloading and custom operators
- Enumeration types
- Immutable and "byref-like" value types
- Module initializers
- Conversion operators
<:
,<?:
and:?
- Modulus operator
%%
(as opposed to remainder operator%
) - List literals, including overloaded operators
+
,&
,|
,^
and<<
- Support for unmanaged function pointers and creation of delegate types
Preview 3 – Build 570
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)
Pre-release 0.1
The second preview release of the compiler.
Changes and new features
General
- Updated to .NET 9 allowing cross-platform support
Project system
- Add support for build and debug profiles
- Rename
DefaultNamespace
option toRootNamespace
Newly supported language features
- foreach loops
- Parameter constraints
Standard library additions
ObjectDumper
module- Built-in functions
todo
,ptodo
,error
,warn
andmsg
Pre-release 0.0
The first preview version of the compiler. Nothing pretty, but it works.