damianoazzolini / pasta

Tool to perform various types of inference in probabilistic answer set programs under the credal semantics and with statistical statements.
GNU General Public License v3.0
7 stars 4 forks source link

Error in parsing for abduction #12

Closed damianoazzolini closed 2 years ago

damianoazzolini commented 2 years ago

When there is a space after the . at the end of an abducible fact, a parsing error arises. For example,

abducible queen(1). 
abducible queen(2). 

after queen(1). there is an empty space and the parser throws Error: Error in line abduciblequeen(2). If I add a % after the space, the parsing is ok.

abducible queen(1). %
abducible queen(2).