21 lines
346 B
Python
21 lines
346 B
Python
|
#!/usr/bin/env python3
|
||
|
|
||
|
import parser
|
||
|
import z
|
||
|
import player
|
||
|
import struttura
|
||
|
from sys import argv
|
||
|
|
||
|
# Questo codice non funziona!
|
||
|
|
||
|
#def main():
|
||
|
f = open(argv[1], "r")
|
||
|
source = "".join(x for x in f.readlines())
|
||
|
nodo = parser.parser(source)
|
||
|
visitor = z()
|
||
|
visitor.visit(nodo)
|
||
|
# TODO mancano delle verifiche
|
||
|
return
|
||
|
|
||
|
|