Comparing version 0.0.12 to 0.0.13
@@ -95,3 +95,4 @@ var Generator = require('generate-js'), | ||
utils.repeat(' ', scope.length) + | ||
_.typeFormater(token.type) + | ||
_.typeFormater(toke.constructor | ||
.name || token.type) + | ||
': ' + | ||
@@ -98,0 +99,0 @@ _.sourceFormater(token.source()) |
@@ -25,6 +25,8 @@ var Generator = require('generate-js'), | ||
console.log( | ||
['Main'].concat(_._scope) | ||
.map(function (item) { | ||
return item.constructor.name; | ||
}) | ||
['Main'].concat( | ||
_._scope | ||
.map(function (item) { | ||
return item.constructor.name; | ||
}) | ||
) | ||
.join(' => ') | ||
@@ -43,6 +45,8 @@ ); | ||
console.log( | ||
['Main'].concat(_._scope) | ||
.map(function (item) { | ||
return item.constructor.name; | ||
}) | ||
['Main'].concat( | ||
_._scope | ||
.map(function (item) { | ||
return item.constructor.name; | ||
}) | ||
) | ||
.join(' => ') | ||
@@ -63,6 +67,9 @@ ); | ||
console.log( | ||
['Main'].concat(_._scope) | ||
.map(function (item) { | ||
return item.constructor.name; | ||
}) | ||
['Main'].concat( | ||
_._scope | ||
.map(function (item) { | ||
return toke.constructor.name || | ||
token.type; | ||
}) | ||
) | ||
.join(' => ') | ||
@@ -69,0 +76,0 @@ ); |
{ | ||
"name": "compileit", | ||
"version": "0.0.12", | ||
"version": "0.0.13", | ||
"description": "A simple parse cycle compiler.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
18433
538