This post originated from an RSS feed registered with Java Buzz
by Jason Sankey.
Original Post: ANTLR By Example: Part 2: Lexical Analysis
Feed Title: a little madness
Feed URL: http://www.alittlemadness.com/feed/
Feed Description: A man needs a little madness, or else he never dares cut the rope and be free. -Nikos Kazantzakis
Introduction
In Part 1: The language, we took a look at the simple boolean expression language we want to parse. In this part, we will start getting into ANTLR, and will tackle the problem of lexical analysis. This is the first phase of parsing, where the input stream of characters is processed to form [...]