#!/bin/sh

if [ "x$1" = "x" ]; then
  echo "$0 <filename>"
  exit
fi

jjtree $1.jjt && javacc $1.jj && javac $1.java
