Skip to content

version 8.1

Compare
Choose a tag to compare
@irmen irmen released this 25 May 18:19
· 1697 commits to master since this release
  • API change: moved all integer trig builtin functions (sin8u, cos8u etc) to regular subroutines in the math module
  • API change: moved all floating piont builtin functions to regular subroutines in the floats module
  • API change: sum() builtin function was removed altogether
  • API change: max() min() and abs() now always return uword type.
  • API change: abs() supports only integer arguments now, use floats.fabs() for floating point.
  • compiler now correctly accepts string multiplication "xxxx" * expr where expr is not just a number literal (but still must be constant)
  • compiler now automatically converts multi compare expression (if x==1 or x==2 or x==3..) into a more efficient containment check (used to only give a warning)
  • compiler now gives a warning in many cases about shadowing symbols (re-definitions)
  • compiler now automatically inlines some more trivial non-assembly subroutines
  • added %option merge to merge module content with existing
  • improve checks for invalid pipe expressions
  • improve error message for invalid args to min() and max()
  • fixed superfluous printing of WARN and ERROR
  • optimized cx16.setcc() and setcc2() library routines
  • finished the 'virtual' compiler target codegen and the 'emulator'
  • several other minor bugfixes and improvements