String code = "a = !(2 | 2 xor 2 * 2)";
String expected = "2 2 MUL 2 XOR 2 OR NOT 0 MSTORE";
SerpentParser parser = ParserUtils.getParser(SerpentLexer.class,
SerpentParser.class, code);
ParseTree tree = parser.parse();
String result = new SerpentToAssemblyCompiler().visit(tree);
result = result.replaceAll("\\s+", " ");
result = result.trim();