You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* We now support the ASTEROIDPATH environment variable which is expected to have a colon seperated list of directories to search for user defined modules.
10
+
11
+
* The logical operators 'and' and 'or' are now evaluated in short-circuit fashion.
12
+
13
+
* Files loaded with the 'load' statement are now considered modules and work similarly to Python modules.
14
+
15
+
* Added the 'toplevel' function which returns true if control is in the module originally loaded by the interpreter.
16
+
17
+
* Added the match statement similar to the match statement in Python.
18
+
19
+
* No longer supports type hierarchies for the primitive types. The functions in the 'type' module are now considered builtins. The 'type' module itself has been eliminated.
20
+
21
+
* The Minimal Asteroid Debugger (MAD) replaces ADB in this release.
22
+
23
+
* The shorthand conditional pattern can now be applied to arbitrary patterns. E.g. The pattern
24
+
```
25
+
(a,b,c):(%integer,%integer,%integer)
26
+
```
27
+
constrains the triple `(a,b,c)` to be a triple of integers. The above shorthand conditional pattern is equivalent to the conditional pattern,
28
+
```
29
+
(a,b,c) if (a,b,c) is (%integer,%integer,%integer)
30
+
```
31
+
7
32
## New in Release 1.1.4
8
33
9
34
* Allows pattern constraint operator to map certain variables that a pattern
0 commit comments