Jump to content

User:Prajwalmr62/Hoon (programming language)

From Wikipedia, the free encyclopedia

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

[edit]

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

Syntax

[edit]

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

[edit]

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 applications, if developed, would be mainly in that area.

References

[edit]
[edit]