Skip to content

Scale Version 24.1

Choose a tag to compare

@StonkDragon StonkDragon released this 22 Mar 21:06
b8914b5

Added

  • Lambdas can now reference variables accessible in the enclosing function
  • reified function modifier to template a function
    • See reified for the syntax
    • reified methods are always nonvirtual
  • Added utility structs for all integer types

Changes

  • Name mangling is now compatible with gcc
  • Calling variadic functions is now easier
  • do 'map can now transmute the input
  • When a Scale program receives a signal, it will now throw a SignalError
  • Operators @, !!, and ?: are now reified
  • The puts and eputs functions are now reified
  • The crash and raise functions in the debug module now return nothing instead of none
  • The memcpy and memset functions are now reified
  • Compiler now uses bdwgc under the hood
  • Scale now gets installed to ~/Scale

Removed

  • Removed stackSize function