Parser for Java programs