December 2009
Intermediate to advanced
380 pages
9h 2m
English
Before interpreting or translating an input phrase, we have to fully understand that phrase. That means we have to verify its syntax and verify that it makes sense. In the previous part of this book, we learned how to check phrase syntax. In this part of the book, we’re going to explore the patterns that help us analyze input phrases.
Only the simplest language applications get away with reading input and directly generating output. Such applications are called syntax-directed applications because they can generate output as soon as they recognize a construct. For example, if we wanted to convert a wiki markup format to HTML, we could translate it almost character by character. The key characteristic ...
Read now
Unlock full access