Skip to content

Releases: gkjpettet/roo

Version 2.1.8

25 Jul 15:22
c199e9c
Compare
Choose a tag to compare

Raspberry Pi support!

This release includes built binaries for the Raspberry Pi. You can now write code with Roo on this fantastic little computer. The only dependency is libunwind8. Install that with the following command:

sudo apt-get install libunwind8

Bug fixes

  • Text.swapcase now correctly returns the swapped case value, rather than the original value
  • The RegexResult and MatchInfo objects now correctly report their names when printed
  • If the absolute value of the specified position is greater than the length of the Text object with Text.slice(position) then Nothing is returned (rather than an empty Text object)
  • Whenever Text.slice!() returns Nothing, the original Text object is now left unchanged

Installation

The easiest way is to use Homebrew on the Mac or Scoop on Windows.

Downloads

macOS
Windows (64-bit)
Raspberry Pi
Linux (64-bit)

Version 2.1.7

24 Jul 20:27
Compare
Choose a tag to compare

Improvements

  • Fixed a bug with the Regex object match() method. It now correctly accepts either 1 or 2 parameters

Installation

The easiest way is to use Homebrew on the Mac or Scoop on Windows.

Downloads

macOS
Linux (64-bit)
Windows (64-bit)

Version 2.1.6

19 Jul 11:01
Compare
Choose a tag to compare

Changes

  • Removed Array.take() and Array.take!() methods as they were essentially just duplicates of Array.first()
  • Added Array.first!() method

Installation

The easiest way is to use Homebrew on the Mac or Scoop on Windows.

Downloads

macOS
Windows (64-bit)
Linux (64-bit)

Version 2.1.5

18 Jul 19:03
Compare
Choose a tag to compare

Improvements

  • Added new getters to all objects: nothing? and to_text

Changes

  • Renamed Maths.randomInt() to Maths.random_int()

Installation

The easiest way is to use Homebrew on the Mac or Scoop on Windows.

Downloads

macOS
Windows (64-bit)
Linux (64-bit)

Version 2.1.4

17 Jul 12:34
Compare
Choose a tag to compare

Improvements

  • Added the type getter to all objects. This returns (as a Text object) the object's type
  • Added the responds_to?(name) method to all objects. This returns (as a Boolean) whether or not the object responds to a method with the specified name

Installation

The easiest way is to use Homebrew on the Mac or Scoop on Windows.

Downloads

macOS
Windows (64-bit)
Linux (64-bit)

Version 2.1.3

17 Jul 11:16
Compare
Choose a tag to compare

Improvements

  • Added an optional condition to the break statement

Installation

The easiest way is to use Homebrew on the Mac or Scoop on Windows.

Downloads

macOS
Windows (64-bit)
Linux (64-bit)

Version 2.1.2

16 Jul 14:00
Compare
Choose a tag to compare

Improvements

  • Fixed a bug in regex literals where an escaped pipe symbol (\|) was not correctly recognised as a regex or operator

Installation

The easiest way is to use Homebrew on the Mac or Scoop on Windows.

Downloads

macOS
Windows (64-bit)
Linux (64-bit)

Version 2.1.1

16 Jul 11:06
Compare
Choose a tag to compare

Changes

  • The global clock() function is now a getter in the Roo module. Invoke it as Roo.clock

Installation

Easiest way
is to use Homebrew on the Mac or Scoop on Windows.

Downloads

macOS
Windows (64-bit)
Linux (64-bit)

Version 2.1.0

16 Jul 09:58
Compare
Choose a tag to compare

Improvements

  • Internal architecture changes which make it easier to add custom global functions and native modules in the future.

Installation

Easiest way
is to use Homebrew on the Mac or Scoop on Windows.

Downloads

macOS
Windows (64-bit)
Linux (64-bit)

Version 2.0.3

13 Jul 10:39
Compare
Choose a tag to compare

Improvements

  • Ensures that the to_text getter is present on every Roo object

Changes

  • Removed pointless Roo.hello() function

Installation

Easiest way is to use Homebrew on the Mac or Scoop on Windows.

Downloads

macOS
Linux (64-bit)
Windows (64-bit)