Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Multiple annotations #244

Closed
IceDragon200 opened this issue Oct 25, 2021 · 1 comment
Closed

Multiple annotations #244

IceDragon200 opened this issue Oct 25, 2021 · 1 comment

Comments

@IceDragon200
Copy link
Contributor

So annotations, the primary README briefly touches on it.

What's interesting, originally it seems to have been used for type annotating:

(date)"2021-10-24"

But recently reading the data model #225, it now goes by the name 'tag' which suggests it is now a general purpose value.

So would it make sense to allow multiple tags or annotations?

(AI)(Enemy)entity {
  name "Box"
  position 0 0
}

(AI2)(Enemy)entity {
  name "Goblin"
  position 0 1
}

(Controllable)(Player)entity {
  name "Player"
  position 3 3
}

Not the perfect example, but I think it gets the point across.

@larsgw
Copy link
Contributor

larsgw commented Oct 25, 2021

For values it is still used for type annotating, for entities it is about indicating the relationship between a node and its parent node (or the root document). In your example, I think most of the tags/annotations could also be properties (Controllable at least).

@kdl-org kdl-org locked and limited conversation to collaborators Oct 25, 2021
@larsgw larsgw closed this as completed Oct 25, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants