// TODO: maps (e.g. #1001307) static S additionalQuery(S s, S varName, S thing) { O value = get(main.class, varName); if (!(value instanceof List)) return null; L list = (L) value; if (match3("how many " + thing + "s", s)) return "" + list.size(); if (match3("structure " + thing + "s", s)) return structure(list); return null; } static S standardQuery(S s, S varName) { O value = get(main.class, varName); if (isType(value, "main$AList")) value = call(value, "shoot"); if (!(value instanceof List)) return null; L list = (L) value; if (match3("how many entries", s) || match3("n", s)) return "" + list.size(); if (match3("structure", s)) return structure(list); return null; }