Mirror of the Rel4tion website/wiki source, view at <http://rel4tion.org>

[[ 🗃 ^yEzqv rel4tion-wiki ]] :: [📥 Inbox] [📤 Outbox] [🐤 Followers] [🤝 Collaborators] [🛠 Commits]

Clone

HTTPS: git clone https://vervis.peers.community/repos/yEzqv

SSH: git clone USERNAME@vervis.peers.community:yEzqv

Branches

Tags

master :: projects / idan / manual / 01-intro /

04-structure.mdwn

[[!meta title=“1.4 | Document Structure”]]

Document Structure

Idan is a declarative language. An Idan document is a list of declarations. As Idan supports position-based references, the order of declarations does matter, but not if those references are not used, or after they are resolved. There are two types of declarations: information and directive.

An information declaration expresses Smaoin statements. In a typical Idan document most of the declarations would be information. Idan provides various tools for grouping Smaoin statements and expressing them clearly and concisely.

A directive declaration is a way to pass settings to the Idan parser. It may define various document-global parameters, such as a localization language or a namespace used in information declarations in the document. In a typical Idan document there are just a few directives, usually located at the beginning of the document.

[See repo JSON]