From dcb5e8add269f39a116a20b1d0a34e28d388b421 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 29 Aug 2018 15:09:35 -0700 Subject: 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" --- core/operators.nom | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'core/operators.nom') 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) -- cgit v1.2.3