sasagawa888 / nprolog

interpreter and compiler to be compatible with ARITY/PROLOG(MS-DOS)
Other
63 stars 3 forks source link

{} not correctly recognized as atom #42

Closed ghost closed 4 years ago

ghost commented 5 years ago

Hi,

I cannot test Elxlog, since I don't have an Elixir environment. So I am still testing against OPL, which comes as a handy .EXE.

It seems that {} is not correctly recognized as atom. This is a small ISO Prolog requirement. I tried the following:

image

There are somehow two errors involved. The first error is the display {_,true} which is not correct. And the second error is that the second and third clause have disappeared.