public static CbVal DoDeVal(string code) { var ast = Parse(code); if (ast.Count == 0) { throw new DeserializeError("Nothing to deserialize"); } return(DeCbVal.ValDe(ast[0])); }
public static CbVal DoDeAstVal(CbAst ast) => DeCbVal.ValDe(ast);