Personal project. Two simple Java syntax analyzers