Skip to content

solus 0.8

Pre-release
Pre-release

Choose a tag to compare

@septumfunk septumfunk released this 08 Feb 06:24
· 97 commits to dev since this release
c755ba5

This version introduces integer keys for objects (so they may act as arrays as well), accepting user input, further string manipulation, and changes up a few std functions. This version also includes bundle.solc which is a file that is automatically run if the solus executable detects it in the same directory as it. That means if you compile your solus code, you can rename it to bundle.solc and package it with the CLI.

Arrays

Arrays allow objects to be indexed with integers, and alongside this I have introduced syntax for concatenating objects which joins both their internal arrays and maps together. Note that += will append to an existing object, but + will form a new object.
image

MetaOBJ

A meta object or metaobj is an object that contains methods used by the VM in place of regular object operations. Currently the metamethods that exist are _get(key) and _set(key, value).
image