Skip to content

v2.0.0

Latest
Compare
Choose a tag to compare
@MerlinofMines MerlinofMines released this 15 Jan 04:00
· 4 commits to master since this release
6ddee32

What's Changed

Added thread management support and a few other requested features. Also updating the versioning strategy going forward to better adhere to semantic versioning principles.

Importantly, the behavior of aggregate conditions has changed to better adhere to vacuous truth principles. Specifically, an aggregate condition over empty list or empty selector will now return true instead of false. any still returns false.

#Prints All are on
if all of "Dont Exist" pistons are on
  print "All are on"
if none of "Dont Exist" pistons are on
  print "None are on"

#Does Not Print
if any of "Dont Exist" pistons are on 
  print "Any are on"

New Features

  • Added "await" command, which can be used to perform async & wait operations.
await
  async runTask1
  async runTask2
  print "Doing something else"
print "Finished with Async Tasks!"
  • Added basic thread management support including the ability to retrieve, rename and terminate threads.
set the current thread name to "My Awesome Thread"
terminate all async threads
  • Added helm, helms keyword support for cockpits

  • Added support for getting the input/output limits for batteries

print "Max Input: " + "My Battery" input limit
print "Max Output: " + "My Battery" output limit

Changed Behavior

  • All/None aggregate conditions now return true for empty lists.

Full Changelog: v1.5.2...v2.0.0