scyther/scripts/if2spdl/if2spdl.py
ccremers 9e5a076d7d - Added test file.
- Created main file.
2005-11-16 16:44:56 +00:00

15 lines
214 B
Python
Executable File

#!/usr/bin/python
from parser import *
import pprint
def main():
file = open("NSPK_LOWE.if", "r")
res = ifParse ("".join(file.readlines() ) )
pprint.pprint (res.asList())
if __name__ == "__main__":
main()