diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-08-29 15:09:35 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-08-29 15:10:27 -0700 |
| commit | dcb5e8add269f39a116a20b1d0a34e28d388b421 (patch) | |
| tree | c50620e69209e24b82d47291d186e40655fb8de8 /core/operators.nom | |
| parent | 23b52bc22d9ec24702c1bed0f8ce90271eec6460 (diff) | |
Fully updated to 3.6, deprecated old LuaCode global functions like "to 1
write 2" and replaced them with method calls like "1::append 2"
Diffstat (limited to 'core/operators.nom')
| -rw-r--r-- | core/operators.nom | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/operators.nom b/core/operators.nom index 699663c..fbf88bb 100644 --- a/core/operators.nom +++ b/core/operators.nom @@ -1,4 +1,4 @@ -#!/usr/bin/env nomsu -V3.5.5.6 +#!/usr/bin/env nomsu -V3.6.5.6 # This file contains definitions of operators like "+" and "and". @@ -21,7 +21,7 @@ compile [%a isn't %b, %a is not %b, %a not= %b, %a != %b] to (..) # For strict identity checking, use (%x's id) is (%y's id) test: - assume (([] == []) and (([]'s id) != ([]'s id))) + assume (([] == []) and (([] 's id) != ([] 's id))) lua> ".." do local new_uuid = require('uuid') @@ -238,7 +238,7 @@ compile [%x or %y] to (Lua value "(\(%x as lua expr) or \(%y as lua expr))") # Bitwise Operators # TODO: implement OR, XOR, AND for multiple operands? test: - assume ((~5) == -6) + assume ((~ 5) == -6) assume ((1 | 4) == 5) assume ((1 ~ 3) == 2) assume ((1 & 3) == 1) |
