Skip to content

Releases: loschsoftware/dc

Preview 4 – Build 619

05 Jan 21:53
Compare
Choose a tag to compare
Pre-release

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

17 Nov 18:22
Compare
Choose a tag to compare
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 to dc 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

03 Aug 13:52
5d39ccb
Compare
Choose a tag to compare
Pre-release 0.1 Pre-release
Pre-release

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 to RootNamespace

Newly supported language features

  • foreach loops
  • Parameter constraints

Standard library additions

  • ObjectDumper module
  • Built-in functions todo, ptodo, error, warn and msg

Pre-release 0.0

01 Nov 00:06
922a1d2
Compare
Choose a tag to compare
Pre-release 0.0 Pre-release
Pre-release

The first preview version of the compiler. Nothing pretty, but it works.