Skip to content

Commit

Permalink
Final cleanup for MEML 0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Kai Lyons committed Jul 3, 2020
1 parent 6d42fc1 commit c92d557
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions meml.js
Original file line number Diff line number Diff line change
@@ -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")
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -241,8 +235,6 @@ function lexer(ast){
}
}

console.log(ast)

codeStitcher(ast, ixt)
}

Expand Down

0 comments on commit c92d557

Please sign in to comment.