nim.vim/autoload/simulator.py

18 lines
252 B
Python

#!/bin/env python
from nimrod_vim import execNimCmd
proj = "/foo"
while True:
line = raw_input("enter command: ")
async = False
if line == "quit":
async = True
print execNimCmd(proj, line, async)
if line == "quit":
break