Skip to content

SPWN (0.3 beta)

Pre-release
Pre-release
Compare
Choose a tag to compare
@Spu7Nix Spu7Nix released this 07 Jan 21:41
· 914 commits to master since this release

This release includes some large changes from the previous versions, including:

  • "Functions" renamed to "Trigger functions"
  • Syntax for creating a function/trigger function changed from { ... } to !{ ... }
  • error keyword has been renamed to throw
  • return statement now works like most other programming languages

If you have made programs or libraries in previous versions of SPWN, they might not work in this version, so make sure to update them!

NEW FEATURES:

  • Switch statement
  • Various useful flags (see them with spwn help)
  • Live editor for mac
  • Range operator for IDs (for example 1g..10g)
  • Reading files
  • increment and decrement operators (++ and --)
  • a lot of bugfixes!
  • probably some more idk I can't remember

There is now a handy installer program for windows! For mac, the installation is the same as last release.