We will ease into the second part of this series (see
Hacking BeanShell with JavaCC - Building a Language, Part 1) with a relatively simple task: implementing a "<>" equivalence operator. This operator calls .equals on its operands and handles nulls on either side. The first step is adding the operator to the JJTree grammar. We will also add a not equivalent…
Continue