This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Releases: cosmo-lang/cosmo
Releases · cosmo-lang/cosmo
Cosmo 0.6.3
- Support unicode letters in identifiers (π, θ, etc.)
- Change
Math->pi
toMath->π
- Change
- 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
- Operator overloading methods (excluding unary operators [besides
~
] and logical operators [besides<=
and>=
])
Full Changelog: v0.6.1...v0.6.2
Cosmo 0.6.1
- 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
- Change logical and + or (again) to
&:
and|:
respectively - Implement
private
,public
, andconst
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
- Make
?
character exclusive to function identifiers - Fixes
Full Changelog: v0.5.3...v0.5.4
Cosmo 0.5.3
- Hotfix:
__version
global reading shard.yml from cwd
Full Changelog: v0.5.2...v0.5.3
Cosmo 0.5.2
- Move
Math
library intomath
module (import withuse "math"
) case
..when
statementsbigint
type- Remove
argc
parameter frommain
function - Few fixes
Full Changelog: v0.5.0...v0.5.2
Cosmo 0.5.0
- 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
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
- Add ternary operator
Full Changelog: v0.3.0...v0.3.1