• Anthony Liguori's avatar
    Add a lexer for JSON · 5ab8558d
    Anthony Liguori authored
    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: default avatarAnthony Liguori <aliguori@us.ibm.com>
    5ab8558d
json-lexer.h 977 Bytes