java-based parser draft