import utils
import parse

def enterREPL():
    
    #loop state code
    loopStatus = {'loopDepth':0,
                  'rootLoopLength':0,
                  'loopCode':[]}
    
    while(True):
        inp = raw_input(str(utils.lines) + "> ").strip()

        if(inp == "quit"):
            return
        
        #update line count
        utils.lines += 1
        
        #handles loops and executes otherwise    
        loopStatus = parse.loopCheckThenParse(utils.lines,inp,loopStatus)
@@ -168,24 +168,140 @@
 e':%5B%5D%7D%0A    %0A
+    #track inputed line count%0A    #because we want to start the count at zero, we start at -1%0A    inpLine = -1%0A    %0A
     while(Tr
@@ -441,24 +441,45 @@
  line count%0A
+        inpLine += 1%0A
         util
@@ -486,20 +486,25 @@
 s.lines 
-+
 = 
-1
+inpLine
 %0A       

fix bug in repl line count