github starkware-libs/cairo-lang v0.2.0

latest releases: v0.13.1, v0.13.1a0, v0.13.0...
pre-release2 years ago

StarkNet:

  • StarkNet contract compiler and StarkNet CLI (command line interface)
  • @external, @view and @storage_var decorators

Cairo language:

  • Remove-unused-functions optimization
  • Dot operator (e.g., (x + 1).y) and the subscript operator (x[3]).
  • Tuples ((2, 3, 4))
  • Struct data-constructors (let t = T(x=1, y=2))
  • Compare structs (assert a = b, where a and b are of type T)

Cairo architecture:

  • Safe call (the Cairo CPU ensures that each call instruction returns).

Don't miss a new cairo-lang release

NewReleases is sending notifications on new releases.