From cb5cecc458bb83295d945dfa560703d358a7cc04 Mon Sep 17 00:00:00 2001 From: Kyryl Riabov Date: Thu, 10 Oct 2024 13:23:23 +0300 Subject: [PATCH 1/2] Fixed log and component multi dimensional array reference --- data/Example1.circom | 11 +++++++++++ grammar/Circom.g4 | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/data/Example1.circom b/data/Example1.circom index 356c22f..b1e0f12 100644 --- a/data/Example1.circom +++ b/data/Example1.circom @@ -58,6 +58,17 @@ template nbits(a) { } outA <== i; + log("Number: ", 100); + + for(var i=0; i<2; i++)for(var idx=0; idx Date: Thu, 10 Oct 2024 13:33:34 +0300 Subject: [PATCH 2/2] Added completed expression in log --- data/Example1.circom | 1 + 1 file changed, 1 insertion(+) diff --git a/data/Example1.circom b/data/Example1.circom index b1e0f12..e96880d 100644 --- a/data/Example1.circom +++ b/data/Example1.circom @@ -59,6 +59,7 @@ template nbits(a) { outA <== i; log("Number: ", 100); + log("Complicated expression: ", 1 + g[d - functionCall2(1)] * 3 + functionCall(1, 2, 3)); for(var i=0; i<2; i++)for(var idx=0; idx