From c92d5579f1fbd5beea2ea28e827219a4e0bf338e Mon Sep 17 00:00:00 2001 From: Kai Lyons Date: Thu, 2 Jul 2020 21:59:13 -0600 Subject: [PATCH] Final cleanup for MEML 0.1 --- meml.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/meml.js b/meml.js index 021d6d4..c388492 100644 --- a/meml.js +++ b/meml.js @@ -1,6 +1,5 @@ // Variables var fs = require("fs") -const { AssertionError } = require("assert") var cliArgs = process.argv.slice(2) var version = "0.0.1_public-beta" var defaultOutputName = cliArgs[0].replace(".meml", ".html") @@ -98,11 +97,6 @@ function lexer(ast){ var oLine = new Array // One line placements var mLineOpen = new Array // Multi-Line Open placements var mLineClosed = new Array // Multi-Line Closed placements - var c2 = 0 // 2nd counter, just in case - var headClosed = 0 // Check if Head tag is closed (1 or 0) (1 means yes, 0 means no) - var headTagPlacement // Where head opening tag is in AST Array - var bodyTagPlacement // Where body opening tag is in AST Array - var multiLineTF = false // If it is in multi-line mode for (i in ast){ if(!ast[i].startsWith("(")){ mLineClosed.push(c) @@ -241,8 +235,6 @@ function lexer(ast){ } } - console.log(ast) - codeStitcher(ast, ixt) }