Fjölnir (programming language)
Fjölnir is a programming language developed by professor Snorri Agnarsson of computer science at Háskóli Íslands that was mostly used in the 1980s. The source files usually have the extension fjo
or sma
.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, "GRUNNUR"
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, skrifastreng
is imported from "GRUNNUR"
.
;; Hello world in Fjölnir
"hello" < main
"GRUNNUR"