ANTLR4

Generating, visiting and unit testing grammar using ANTLR4 with Java and Scala

“Quality is free, but only to those who are willing to pay heavily for it” – T. DeMarco Now unit testing is not that heavy to pay off so lets start the blog. In this blog we will be continuing the voyage to the kingdom of ANTLR4 RECAP In previous blog we discussed how to test whether a string is grammatically correct or not using Continue Reading

Testing grammar using ANTLR4 TestRig (Grun)

“Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.” –Martin Golding Quotes like above tell us the importance of testing the modules that we develop. Testing for different languages is done using various tools for example JUNIT for java, FunSuite for scala and TestRig (grun on command line) for grammar(.g4). In this Continue Reading

Knoldus Pune Careers - Hiring Freshers

Get a head start on your career at Knoldus. Join us!