Like this:
    
    
    import strutils
    
    macro r: untyped =
      for l in "input".slurp.splitLines:
        # process a line
        echo l
    
    r()
    
    
    Run

Reply via email to