#!/usr/bin/env python3

from scanner import scan
import sys

source_file    = open(sys.argv[1])
source_program = source_file.read()
token_list     = scan(source_program)

for t in token_list:
    print(t)

