Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Releases: cosmo-lang/cosmo

Cosmo 0.6.3

23 May 20:24
Compare
Choose a tag to compare
  • Support unicode letters in identifiers (π, θ, etc.)
    • Change Math->pi to Math->π
  • Support ! as a last character for function identifiers, should be used for macro functions

Full Changelog: v0.6.2...v0.6.3

Cosmo 0.6.2

23 May 09:58
Compare
Choose a tag to compare
  • Operator overloading methods (excluding unary operators [besides ~] and logical operators [besides <= and >=])

Full Changelog: v0.6.1...v0.6.2

Cosmo 0.6.1

23 May 06:50
Compare
Choose a tag to compare
  • Add string interpolation using %{} syntax
  • Add basic type casting (slightly broken, should mostly work though)
  • Add snippets
  • Fixes

Full Changelog: v0.6.0...v0.6.1

Cosmo 0.6.0

22 May 06:25
Compare
Choose a tag to compare
  • Change logical and + or (again) to &: and |: respectively
  • Implement private, public, and const class members
  • Implement new statement & constructors
  • Add compound assignment for &: and |: operators
  • Fix compound assignment with indexing or accessing (e.x. foo->bar += 1)

Full Changelog: v0.5.4...v0.6.0

Cosmo 0.5.4

21 May 09:04
Compare
Choose a tag to compare
  • Make ? character exclusive to function identifiers
  • Fixes

Full Changelog: v0.5.3...v0.5.4

Cosmo 0.5.3

20 May 10:11
Compare
Choose a tag to compare
  • Hotfix: __version global reading shard.yml from cwd

Full Changelog: v0.5.2...v0.5.3

Cosmo 0.5.2

20 May 06:40
Compare
Choose a tag to compare
  • Move Math library into math module (import with use "math")
  • case..when statements
  • bigint type
  • Remove argc parameter from main function
  • Few fixes

Full Changelog: v0.5.0...v0.5.2

Cosmo 0.5.0

20 May 01:15
Compare
Choose a tag to compare
  • Modules (import via use, see examples/modules)
  • Member visibilities (public, protected, etc.)
  • throw statement
  • Bitwise operators
  • Pushing values into vectors via left shift (<<)
  • Change logical and + or operators to :& and :| respectively
  • A few fixes

Full Changelog: v0.4.2...v0.5.0

Cosmo 0.4.2

19 May 10:35
Compare
Choose a tag to compare
  • Math library
  • New unary operators (++, --, #)
  • Table syntax is now {{}} instead of just {}
  • is keyword for typechecking
  • Union types
  • Single-line blocks ({} isn't required if a block is one statement/expression)
  • Vector indexing with ranges (e.x. [1,2,3,4,5,6][2..4] is equal to [3,4,5])
  • Many fixes

Full Changelog: v0.3.1...v0.4.2

Cosmo 0.3.1

17 May 20:03
Compare
Choose a tag to compare
  • Add ternary operator

Full Changelog: v0.3.0...v0.3.1