Skip Navigation
 
 
/* ------------------------------------------------------------------------ */
/*                                                                          */
/* [json.abs]                  Abstract Grammar                             */
/*                                                                          */
/* ------------------------------------------------------------------------ */

LANGUAGE json

TOKENS

  String, Number

TYPES

  json        = Start_Src(Src)

  Src         = src(Value)

  Value       = obj(Member*);
                nul;
                str(String);
                num(Number);
                log(Boolean);
                row(Value*)

  Boolean     = true;
                false

  Member      = pair(String, Value)