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 /

02-literals.mdwn

[[!meta title=“2 | Literals”]]

Literals

There are several ways to express the 4 components of a statement. One of them is by specifying an entity directly. Such a direct specification is called a literal. The various kinds of references therefore aren’t literals.

An entity in Smaoin can be either a resource of a value. Resources are represented by their Uids, and values have representations specific to their types. The 5 primitive types are Number, Boolean, Data, Character and String. Therefore there are 6 “kinds” of literals in Idan. Each one has a syntax rule for specifying entities of it, and there’s also a generic form that can be used with any type.

[[!template id=manual-subpages]]

[See repo JSON]