Skip to content

0.10.0

Compare
Choose a tag to compare
@cheese3660 cheese3660 released this 13 Feb 14:53
· 12 commits to main since this release
20f1224

This release changes how indexers work, it adds support for the following types of indexers

  1. Indexers in variable declarations
$x[5]: 3;
  1. Nested indexers
$x[1][2]: 3;
  1. Mapping indexers
$x[*] *: 5; // multiplies all values in $x by 5
  1. Defining new lists and such using indexers
$y[0]: 3; // Creates $y as a list with its first element being 3