Skip to content
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

added documentation for number encodings and bitwise shits #16

Merged
merged 2 commits into from
Jan 27, 2025

Conversation

Laschoking
Copy link
Collaborator

This adds documentation for Binary, Octal and Hexadecimal number encodings for the changes by knowsys/nemo#596.
Additionally documentation for the bitwise shift operations proposed in knowsys/nemo#601 is supplied.

@@ -14,6 +14,7 @@ mydata("3.14"^^xsd:double, "2023-06-19"^^xsd:date) .
However, it is often nicer to use the shortcuts:
- *Strings* can be written in `"double quotes 🙂"` and support Unicode. Multi-line strings can also be written using `"""triple quotes"""`.
- *Integers* can be written as plain numerals with an optional sign: `42`, `-23`, `+911` all work.
- Binary, Octal and Hexadecimal numbers starting with the respective prefix `0b`, `0o` or `0x` are interpreted as *unsigned integers*.
- *Double precision floats* can be written with decimal point and optional exponent: `3.14`, `.05`, `10.345E6` all work.
- *Language-tagged strings* are written like in RDF, e.g., `"Dresden"@de` or `ドレスデン@ja`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated to your change, but that should be "ドレスデン"@ja, shouldn't it?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, added them

@aannleax aannleax requested a review from mmarx January 27, 2025 14:19
@aannleax aannleax merged commit 907a85b into main Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants