Panda 0.2.1-alpha

Update time! Panda Woah
Take a look at Panda 0.2.1-alpha and these awesome bitwise operations:

Changes in language:

  • GH-585 Support for bitwise operators
log (-8) ==     (~7)
log   1  ==  (5 & 3)
log   7  ==  (5 | 3)
log   6  ==  (5 ^ 3)
log   4  == (2 << 1)
log   2  == (4 >> 1)
  • GH-605 Support for floating numbers without leading zero
log 1.01 == (1 + .01)
  • GH-590 Fixed invalid equals comparison between different number types
Int positiveInt = 7
Int negativeInt = -7

Double positiveDouble = 7.0
Double negativeDouble = -7.0

// Since 0.2.1-alpha works as expected ❤️
log positiveInt == positiveDouble
log negativeInt == negativeDouble
  • GH-596 Removed possibility of using operation based expressions as standalone statements

Changes in internals:

Download:
Installation: panda-lang.org/install
Developers: panda-lang.org/guide#installation

Archives: