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

Syntax clarification #161

Open
kornai opened this issue Jan 22, 2019 · 2 comments
Open

Syntax clarification #161

kornai opened this issue Jan 22, 2019 · 2 comments
Assignees
Labels

Comments

@kornai
Copy link
Owner

kornai commented Jan 22, 2019

The definition syntax uses "< >" enclosed parts in about 10% of the cases. I think this refers to default but negatable values, as in title ci1m appellatio tytul1 371 N name, HAS or wine bor vinum wino 332 N drink, before(fruit), before(), alcohol IN/2758

Is the logic of when to apply <> described somewhere?

@makrai
Copy link
Collaborator

makrai commented Jan 23, 2019

Yes, angled brackets signify default status, and they don't need to be compatible:

can konzerv cibus_conservatus puszka 1427 u N cylinder, metal, CONTAIN [<food>,<drink>]

@makrai makrai closed this as completed Jan 23, 2019
@makrai makrai reopened this Jan 23, 2019
@makrai
Copy link
Collaborator

makrai commented Jan 23, 2019

(sorry for closing. I think in the case of a question issue, it is the questioner supposed to close it)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants