pygments / pygments/pygments

SPARQL 1.1 compatibility?

Open
#1,117 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

S-minor T-bug X-imported
Dominant language
Python
Stars
2.2k
Forks
885
PR merge metrics
No merged PRs in 30d

Description

(Original issue 1413 created by bk7749 on 2018-01-08T02:53:57.472656+00:00)

Hi there,

I came here from using minted, a latex package but have tested the issue on pygments in pytyon too.

I tried to pygment SPARQL 1.1 query, and it looks like it's not compatible with 1.1 version. For example, if I pygment

SELECT ?s WHERE {
VALUES ?a { ex:Test }.
?s rdf:type ?a .
}

, VALUES is classifed as err instead of k.

Any plan on the updates? If not I can add the keyworsd I recognize though I can't guarantee it can be complete at the moment for PR.

Thanks!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no file or test; use the supplied SPARQL snippet, especially VALUES, as the reproduction and locate the Pygments SPARQL lexer. Compare its existing keyword classifications with SPARQL 1.1, then verify that VALUES is classified correctly and related compatibility is addressed.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.