14 using namespace opencog;
24 std::string cmdname =
verify_string (command,
"cog-ad-hoc", 2,
"string command name");
26 #if REVIVE_OLD_C_CODE_FOR_SENTENCE_PATTERN_MATCH
32 if (0 == cmdname.compare(
"question")) {
37 if (rlx.is_query(h)) {
42 #if EXAMPLE_FRAME_QUERY_API
44 if (frq.is_query(h)) {
51 #endif // REVIVE_OLD_C_CODE_FOR_SENTENCE_PATTERN_MATCH
static std::string verify_string(SCM, const char *, int pos=1, const char *msg="expecting string")
static Handle verify_handle(SCM, const char *, int pos=1)
static SCM handle_to_scm(Handle)
static SCM ss_ad_hoc(SCM, SCM)