Second attempt at hooking lemon (generate source code files).