Fjölnir (programming language)

1

Fjölnir (also Fjolnir or Fjoelnir) is a programming language developed by professor Snorri Agnarsson of computer science at Háskóli Íslands (University of Iceland) that was mostly used in the 1980s. The source files usually have the extension or.

Features

Fjölnir is based on the concept of representing programs as trees, and packages by substitutions on trees using algebraic operators. For example, in the Hello World example below, is a package, the block of code between braces is a package, and is an operator that substitutes names in one package with elements from another. In this case, (which writes a string to the standard output) is imported from.

Code examples

"hello" < main { main -> stef stofn skrifastreng("Hello, world!"), stofnlok } "GRUNNUR"

This article is derived from Wikipedia and licensed under CC BY-SA 4.0. View the original article.

Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc.
Bliptext is not affiliated with or endorsed by Wikipedia or the Wikimedia Foundation.

View original