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.7.6

30 May 21:09
Compare
Choose a tag to compare
  • Null coalescing operator (?:)
  • Fixes

Full Changelog: v0.7.5...v0.7.6

Cosmo 0.7.5

30 May 06:32
Compare
Choose a tag to compare
  • Replace constants with mutables
  • Support escape sequences in strings
  • More intrinsic methods
  • Fixes

Full Changelog: v0.7.4...v0.7.5

Cosmo 0.7.4

28 May 22:20
Compare
Choose a tag to compare
  • Allow functions w/o parameters to be defined and called without parentheses
  • Change lambda syntax from &-> to just &

Full Changelog: v0.7.3...v0.7.4

Cosmo 0.7.3

26 May 08:12
Compare
Choose a tag to compare
  • Remove dependency to libreadline
  • Compile a Windows binary

Full Changelog: v0.7.2...v0.7.3

Cosmo 0.7.2

26 May 03:20
Compare
Choose a tag to compare
  • gets() method for reading stdin
  • More intrinsic methods for Vector and string
  • Integer division operator (//)
  • Require ':' before lambda body
  • uint type

Full Changelog: v0.7.1...v0.7.2

Cosmo 0.7.1

25 May 23:53
Compare
Choose a tag to compare
  • String and number intrinsic functions
  • Multiple assignment/declaration (e.x. int x,y,z or x, y = y, x)

Full Changelog: v0.7.0...v0.7.1

Cosmo 0.7.0

25 May 05:44
Compare
Choose a tag to compare
  • Lambdas via &-> syntax (e.x. &-> bool (int n) n % 2 == 0 returns whether or not n is even)
  • Optional indexing via []? syntax (e.x. a[0]? returns none if a[0] doesn't exist)
  • Intrinsic vector methods (e.x Vector->map(), Vector->filter())
  • Repeat strings via * operator (e.x. "abc" * 3 is equal to "abcabcabc")
  • Fixes

Full Changelog: v0.6.6...v0.7.0

Cosmo 0.6.5

24 May 08:42
Compare
Choose a tag to compare
  • Hotfix: Retaining parser state when parsing string interpolation expressions

Full Changelog: v0.6.5...v0.6.6

Cosmo 0.6.5

24 May 08:27
Compare
Choose a tag to compare
  • Basic assertion library
  • Operator overloading for the rest of unary operators
  • Warn when non-public main() function is found

Full Changelog: v0.6.4...v0.6.5

Cosmo 0.6.4

24 May 06:22
Compare
Choose a tag to compare

Hotfix: Issue with the puts() function, overriding the current block's return type with void

Full Changelog: v0.6.3...v0.6.4