From d667fa646b5243a279ac7cf6bc8770bd8d4d271a Mon Sep 17 00:00:00 2001 From: Matt Loring Date: Thu, 14 Jan 2016 14:50:53 -0800 Subject: [PATCH] Remove TODO to use v8 as parser It seems that this has been asked for in the past and the V8 team justified why they do not want these apis to be exposed. See Andreas Rossberg's answer here: https://groups.google.com/forum/#!topic/v8-users/_WracRX9BTQ --- lib/state.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/state.js b/lib/state.js index e0210b47..a990a5bd 100644 --- a/lib/state.js +++ b/lib/state.js @@ -52,8 +52,6 @@ function evaluate(expression, frame) { } // Now actually ask V8 to evaluate the expression - // TODO: it would be really nice if V8 gave us an API for this - // so that we don't have to include an external parser try { var mirror = frame.evaluate(expression); return {