-
Notifications
You must be signed in to change notification settings - Fork 8
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
Be library and language agnostic #5
Comments
+1 |
Agreed |
Can we agree upon good languages that are good demonstrators within the documentation? There are a lot to choose from and I would like not to have too many within the specification itself. I would also like to see EBNF and/or similar as the primary for examples. |
I can help with Java, though I think that's not the best language for documentation. Maybe as in the SPARQL specification, just use simple TAP examples, EBNF (+1 from me for this, or similar) and provide links to existing implementations in Python, Perl and maaaaybe Java. The most important thing is that these implementations adhere to what we want to demonstrate. What do you think? |
@kinow certainly that appears to be the direction of others. Perhaps code samples can be supported by the site itself. Regex samples worth having within the document? BNF, EBNF or ABNF? (I'm slightly erring towards ABNF at the moment as appears to be used more in RFC's) |
The earlier draft contains an ABNF, but is describes only TAP12 plus the version header. No subtests, extended information or pragmas. Doesn't seem unicode friendly either. |
I'm thinking about using some spare time in March to give it another try at rewriting the tap4j parser with JavaCC. When doing that I can review any existing draft for TAP 14, or propose something |
I think code implementing a spec doesn't belong in a spec. Reasons:
I'm all for a reference implementation in a currently popular language though. |
To make the format have a wider appeal all specific mentions to libraries should be removed from the specification.
The text was updated successfully, but these errors were encountered: