Statistics
| Branch: | Revision:

root / json-lexer.c @ 1d2699ae

History | View | Annotate | Download (7.1 kB)

# Date Author Comment
5ab8558d 11/17/2009 04:49 pm Anthony Liguori

Add a lexer for JSON

Our JSON parser is a three stage parser. The first stage tokenizes the stream
into a set of lexical tokens. Since the lexical grammar is regular, we can
use a finite state machine to model it. The state machine will emit tokens
as they are identified....