2005-11-16 16:44:56 +00:00
|
|
|
#!/usr/bin/python
|
|
|
|
|
|
|
|
from parser import *
|
2005-11-16 16:49:47 +00:00
|
|
|
from generator import *
|
2005-11-16 16:44:56 +00:00
|
|
|
import pprint
|
|
|
|
|
|
|
|
def main():
|
|
|
|
file = open("NSPK_LOWE.if", "r")
|
|
|
|
res = ifParse ("".join(file.readlines() ) )
|
2005-11-16 16:49:47 +00:00
|
|
|
generateSpdl(res)
|
|
|
|
#pprint.pprint (res.asList())
|
2005-11-16 16:44:56 +00:00
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
main()
|