Skip to content

Releases: kai-language/kai

Beta 0.2.0

30 Apr 16:26
2cc8400
Compare
Choose a tag to compare
Beta 0.2.0 Pre-release
Pre-release

Fixed:

  • Pretty much everything has been changed.
  • Updates to constant folding

New:

  • #test directive
  • #os directive
  • #if conditional compilation

Beta 0.1.9

24 Feb 14:23
Compare
Choose a tag to compare
Beta 0.1.9 Pre-release
Pre-release

Fixed:

  • Lots and lots of bugs
  • Enum syntax updated to be more refactor friendly
  • Variadic improvements

New:

  • Unions are now tagged automatically
  • Enum flags
  • Type info!
  • Inline asm

Beta 0.1.8

09 Dec 22:57
Compare
Choose a tag to compare
Beta 0.1.8 Pre-release
Pre-release

New:

  • Added using support in switch statements

Fixed:

  • Crash when import fails
  • Crash when decl position was loaded
  • Selectors on aliased pointers
  • Codegen with LLVM aliases

Beta 0.1.7

03 Dec 19:24
Compare
Choose a tag to compare
Beta 0.1.7 Pre-release
Pre-release

New:

  • using support on enumerations
  • case statements now support lists. Ex: case "a", "b", "c":

Fixed:

  • String escape crash
  • Invalid width crash
  • Invalid codegen logic creating duplicate function prototypes
  • #function directive
  • Function calls on aliased types

Beta 0.1.6

25 Nov 17:13
Compare
Choose a tag to compare
Beta 0.1.6 Pre-release
Pre-release

Fixed:

  • Slice as lvalue crash

Beta 0.1.5

25 Nov 12:40
Compare
Choose a tag to compare
Beta 0.1.5 Pre-release
Pre-release

New:

  • Kai-native variadic functions

Fixed:

  • IRGen for calls to variadics polymorphics
  • Check errors before emitting generated package

Beta 0.1.4

21 Nov 18:52
Compare
Choose a tag to compare
Beta 0.1.4 Pre-release
Pre-release

New:

  • Character literal for integers sized 8, 16, 32 bit integers
  • Support type aliases in polymorphism
  • Polymorphism specializations are emitted into their own object

Fixed:

  • Crash when enum had 0 cases
  • Vectors and sequences weren't using base types
  • Fixed constant string emission

Beta 0.1.3

19 Nov 15:20
Compare
Choose a tag to compare
Beta 0.1.3 Pre-release
Pre-release

New:

  • -o <file> flag
  • -shared flag for SO emission
  • -dynamic flag for dylib emission
  • Documented all compiler flags in -help

Beta 0.1.2

16 Nov 19:02
Compare
Choose a tag to compare
Beta 0.1.2 Pre-release
Pre-release

New:

  • Developer mode. Build the Kai compiler with DEVELOPER flag to use local versions of the stdlib.

Fixed:

  • Selectors on vector pointers
  • Specialization of polymorphic function types

Removed:

  • Same-type cast checks (will return in the near future for non-polymorphic functions)

Beta 0.1.1

15 Nov 18:31
Compare
Choose a tag to compare
Beta 0.1.1 Pre-release
Pre-release

Fixed:

  • distribute build script