SWI-Prolog / pengines

Pengine and Prolog scratchpad
BSD 2-Clause "Simplified" License
56 stars 16 forks source link

Does pengines support DCG? #27

Closed tpalayda closed 5 years ago

tpalayda commented 5 years ago

I have imported DCG library into my main prolog file, though i get "error:"instantiated_error", data:"Sandbox restriction". (i'm thinking it's because of using --> from DCG).

Does pengines recognize --> from DCG?

JanWielemaker commented 5 years ago

DCGs are fine. See e.g., https://swish.swi-prolog.org/example/grammar.pl

Please use the forum for questions. You can use the public swish to reproduce your problem.