Generate parser at compile time; put generated sources into src/main/java.