scyther/scripts/if2spdl/if2spdl.py
2005-12-04 14:46:37 +00:00

15 lines
236 B
Python
Executable File

#!/usr/bin/python
import If
import Ifparser
import Spdl
def main():
file = open("NSPK_LOWE.if", "r")
rulelist = Ifparser.linesParse(file.readlines())
file.close()
print Spdl.generator(rulelist)
if __name__ == "__main__":
main()