LightJason / Java-AgentSpeak

LightJason - AgentSpeak(L++) for Java
https://agentspeak-java.lightjason.org
Other
23 stars 7 forks source link

inline expression evaluation #51

Closed flashpixx closed 6 years ago

flashpixx commented 7 years ago

Add an inline expression evaluation eg for generic/print(11 + 2) the current version shows as result 11 + 2, but don't evaluate it, same problem on actions e.g. vehicle/decelerate(11/2)

But this behaviour breaks with the construction of a logical programming language like Prolog, so the idea is that the evaluation is evaluate bevor the action call is run and if the evaluation fails, the action fails also

flashpixx commented 6 years ago

this issue will not be fixed in the claimed kind, because it outcast to the classical Prolog structure. The release change the syntax to an explicit avoiding