Error handling How do I perform semantic checking with ANTLR? See How to implement error handling in ANTLR4.