-
-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
phrase_from_file does not work on Windows #481
Comments
Seems quite unikely. Only some parts of this tutorial may need to be adjusted for SWI-Prolog version 7 and later (http://www.swi-prolog.org/pldoc/man?section=strings), but not phrase_from_file/2,3. Please continue this at the forum and include exactly what you did as it is probably some minor detail. |
I followed @Anniepoo tutorial of DGC. I tried this code to test
The text file contains "I like it." and the path is set correct. I consulted the file on a fresh console and there is no prolog flag for double quotes in my init file. |
phrase_from_file/3 doesn't work with |
Thanks for the answer. After removing the |
my bad, filed |
Sry @AnnieAtHasura the second example is from @triska . |
Hello everyone,
currently I'm working on parser with DCG. With
phrase
and taking every single line it's working perfectly, but withphrase_from_file
it does not work. Neither does these examples http://www.pathwayslms.com/swipltuts/dcg/#anch6 or https://www.metalevel.at/prolog/dcg .Unfortunately I can't test it on Linux, on Windows with 8.0.2 it is not working.
Kind regards Patrick
The text was updated successfully, but these errors were encountered: