summaryrefslogtreecommitdiffstats
path: root/src/__init__.py
blob: 89bcdc6e648ac39f6c2ed28e8ad9ef27bc53659b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
from front.lexer import Lexer
from front.parser import Parser
from front.scope import Scope
import sys

def main():
    ast = Parser(Lexer(sys.stdin.read())).parse()
    scope = Scope()
    ast.generate()

if __name__ == "__main__":
    main()