@bignum/template-compiler
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -131,3 +131,3 @@ // src/index.mts | ||
const beforeOpToken = stack[stack.length - 2]; | ||
if (beforeOpToken.t === 1 /* operator */ && PRECEDENCE[token.v] <= PRECEDENCE[beforeOpToken.v]) | ||
if (beforeOpToken.t === 1 /* operator */ && PRECEDENCE[token.v][1] <= PRECEDENCE[beforeOpToken.v][0]) | ||
stack.push(processBinary(stack)); | ||
@@ -134,0 +134,0 @@ } |
{ | ||
"name": "@bignum/template-compiler", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "A compiler that compiles template literals for calculation.", | ||
@@ -13,2 +13,5 @@ "type": "module", | ||
}, | ||
"files": [ | ||
"lib" | ||
], | ||
"engines": { | ||
@@ -46,5 +49,5 @@ "node": ">=18" | ||
"dependencies": { | ||
"@bignum/shared": "^0.1.0" | ||
"@bignum/shared": "^0.1.1" | ||
}, | ||
"devDependencies": {} | ||
} |
Sorry, the diff of this file is not supported yet
17779
6
518
Updated@bignum/shared@^0.1.1