Historically, the numbers on the terminal productions have used the same order and numbering as originally used in SPARQL. These seem to have drifted over time. For example, PNAME_NS in SPARQL is [140] and in Turtle is [139s]. ECHAR is [160] in SPARQL, [159s] in Turtle, and [153s] in N-Triples.
Once the dust has settled on other grammar changes, we might want to strive for some consistency across the different grammars.
Historically, the numbers on the terminal productions have used the same order and numbering as originally used in SPARQL. These seem to have drifted over time. For example,
PNAME_NS
in SPARQL is[140]
and in Turtle is[139s]
.ECHAR
is[160]
in SPARQL,[159s]
in Turtle, and[153s]
in N-Triples.Once the dust has settled on other grammar changes, we might want to strive for some consistency across the different grammars.
See w3c/rdf-turtle#7.