eternal goals are not processed, they are ignored instead
@@ -196,8 +196,16 @@ void NAR_AddInputNarsese(char *narsese_sentence)
}
//input beliefs and goals
else
+ {
+ // dont add the input if it is an eternal goal
+ if(punctuation == '!' && !isEvent)
+ {
+ printf("Eternal goals are not supported, input is ignored!\n");
+ }
+ else
{
NAR_AddInput(term, punctuation == '!' ? EVENT_TYPE_GOAL : EVENT_TYPE_BELIEF, tv, !isEvent, isUserKnowledge);
}
}
+}
