| Branch: | Revision:

root / json-lexer.h @ a74cdab4

History | View | Annotate | Download (977 Bytes)

# 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....