-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
quoted atom parsed as errors in prolog #156
Comments
I don't know much Prolog. Is the |
Looking at prolog.xml, I'm baffled. It seems that the |
Well, it's two of us then. But yes, from what I understand it is perfectly fine. To test this assumption, I created a file containing |
So you are looking at this
I don't fully understand, but it seems to emit a syntax error for everything that's double quoted. "Fact" is actually a type of atom, not an identifier. There is a context name atomic but not one for atom. It would be nice to see the original in Kate. |
This is the xml syntax definition that is being used in Kate. |
Thanks, I don't think an intelligent person should go through 1000 lines of xml to try and fix this, I just switched it off for now. For a grammar that may be 10 lines of BNF. |
I emailed the author - if we're lucky we may get some help understanding what it is supposed to do. |
See comment #170 (comment) |
Hi, reporting here per suggestion on pandoc user list. I was told this is the upstream dep and replicated the error in skylighting (as far as I understand it, first time user, brew install)
You can see the \ErrorTok command in there. Similar story with html output (span class="er")
I am told that skylighting relies on data shared or derived from the kate editor. I could not reproduce the problem in Kate on Mac OS, or at least I can say the quote atoms appear in green and not bold red. Not sure which style Kate is using by default. I am a complete Prolog noob, but that looks fine to me and SWI Prolog accepts it. Thanks
Antonio
The text was updated successfully, but these errors were encountered: