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

Describe an agreed-upon semantics of the namespace stuff. #1509

Open
hanjoosten opened this issue Sep 22, 2024 · 2 comments
Open

Describe an agreed-upon semantics of the namespace stuff. #1509

hanjoosten opened this issue Sep 22, 2024 · 2 comments
Assignees

Comments

@hanjoosten
Copy link
Member

          The problem is that we have no agreed-upon semantics of the namespace stuff. So how are we going to build it first-time-right?

Originally posted by @stefjoosten in #1467 (comment)

@hanjoosten
Copy link
Member Author

The groundwork for namespaces has been done. In the Haskell code, we have the Name type, that is used now all over the place. Semantically hardly anything has changed: There are some restrictions on names:

  • A name is restricted by the characters that may be used in it (Only alphanumerical, digits and underscore).
  • A name consists of a non-empty list of nameparts, separated by dots.
  • Each namepart must contain at least one character

The last namepart of a name is called the localname. The casing of the first character of a localname is according of the casing of names that we are all used to (Uppercase for Concepts, Lowercase for Relations)

@hanjoosten
Copy link
Member Author

Now it is time to add semantics for the namespace. There have been several discussions about this in the past. My gut feeling is that @stefjoosten and @Michiel-s have slightly different ideas. Regardless if these ideas differ or not, it is good to agree upon a well defined semantic, so I (or someone else 😃) can build this one-time-right.

So please, @stefjoosten and @Michiel-s , feel free to come up with your description

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

No branches or pull requests

3 participants