gen.py, expr.py and some references