Jump to content

User:Prajwalmr62/Hoon (programming language)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Prajwalmr62 (talk | contribs) at 15:08, 26 April 2016. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Hoon is a higher level, strictly typed, static programming language being developed by Urbit. This language is converted to Nock by compiler and gets excecuted on Urbit environment.

History

Hoon is a programming language that is being developed by Urbit community. The name hoon is derived from the poem, Tea at the Palaz of Hoon written by Wallace Stevens. [1]

Syntax

Nouns store the data. Vase is a container of nouns. Type of noun is specified by spans. The below program is to create a vase of atoms 42 of span %ud and 0x2a of span %ux .

> [42 0x2a]

Applications

Even though the language is still in alpha mode, as the execution environment of Hoon, Urbit is written mainly as to act as a web server for cloud based personal applications, it can be presumed that the application if developed, would be mainly in that area.


References