mirror of
https://github.com/microsoft/regorus.git
synced 2026-08-05 02:16:11 +00:00
Implement comparison operators. Formalize semantics.
Rename compare.rs to comparison.rs to match OPA documentation of builtins. Also update loop handling to ensure that the current scope is restored after each iteration of the loop so as to undo side effects of the iteration. Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
This commit is contained in:
+1
-1
@@ -87,8 +87,8 @@ pub enum Value {
|
||||
// Json data types. serde will automatically map json to these variants.
|
||||
Null,
|
||||
Bool(bool),
|
||||
String(String),
|
||||
Number(Number),
|
||||
String(String),
|
||||
Array(Rc<Vec<Value>>),
|
||||
Object(Rc<BTreeMap<Value, Value>>),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user