I'm working through some of the The Definitive ANTLR4 Reference [1] book examples using the JavaScript ANTLR4 runtime instead of the Java runtime. Note that the original example source code (all of the non .js and non .html files) was obtained from the ANTLR4 book website and is covered by its own copyright.
[1] Parr, Terence. "The definitive ANTLR 4 reference." The Pragmatic Programmers (2013).
The grun test rig referenced in the book has been partially reimplemented in JavaScript as grun.js. The output of the -gui option of grun.js applied to the CSV example from Section 6.1 of the book is shown below.