« Previous | Next » 

Revision 5ab8558d

ID5ab8558d9b7e9a5e4ceb0d86f54df7391af3543d

Added by Anthony Liguori over 14 years ago

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.

Signed-off-by: Anthony Liguori <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences