🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

aqua-compiler

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aqua-compiler - npm Package Compare versions

Comparing version

to
0.0.25

3

build/code-generator.js

@@ -247,4 +247,5 @@ "use strict";

itxn_field: (node) => {
console.log(node); //fio:
//todo: this should really remove the first argument from the code generator.
this.codeEmitter.add(`itxn_field ${unquote(node.children[0].args[0])}`);
this.codeEmitter.add(`itxn_field ${unquote(node.functionArgs[0].value)}`);
// Don't need the extra item on the stack here because we are discarding the first parameter which is on the stack.

@@ -251,0 +252,0 @@ },

@@ -104,2 +104,3 @@ export declare enum TokenType {

private skipWhitespace;
private skipToNewLine;
private readonly charCodeZero;

@@ -106,0 +107,0 @@ private readonly charCodeNine;

@@ -207,2 +207,7 @@ "use strict";

const ch = this.advance();
if (ch === "/" && this.peek() === "/") {
// Single line comment.
this.skipToNewLine();
continue;
}
const twoCharacterTokenLookup = TWO_CHARACTER_OPERATORS[ch];

@@ -331,2 +336,17 @@ if (twoCharacterTokenLookup !== undefined) {

//
// Skips to the next new line.
//
skipToNewLine() {
while (true) {
const ch = this.peek();
if (ch === "\n") {
break;
}
if (ch === undefined) {
break;
}
this.advance();
}
}
//
// Returns true if the specified charater is a digit.

@@ -333,0 +353,0 @@ //

@@ -70,3 +70,3 @@ {

},
"version": "0.0.24"
"version": "0.0.25"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet