Fjölnir (programming language)
From Wikipedia, the free encyclopedia
(Redirected from Fjölnir programming language)
| Paradigm(s) | procedural |
|---|---|
| Appeared in | 1980s |
| Designed by | Snorri Agnarsson |
| Typing discipline | strong, dynamic |
| Scope | lexical |
| Usual filename extensions | .fjo |
Fjölnir (also Fjolnir or Fjoelnir) 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.
Contents |
[edit] Features
Fjölnir is based on the concept of representing programs as trees, and packages by substitutions on trees using algebraic operators.[1] 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 (which writes a string to the standard output) is imported from "GRUNNUR".
[edit] Code examples
;; Hello world in Fjölnir
"hello" < main
{
main ->
stef(;)
stofn
skrifastreng(;"Hello, world!"),
stofnlok
}
*
"GRUNNUR"
;
| This section is empty. You can help by adding to it. |
[edit] External links
- Fjölnir package (DOS, works in older versions of Windows)
- PDF about Fjölnir (In Icelandic)
- 99 Bottles of Beer in Fjölnir
[edit] References
| This programming language-related article is a stub. You can help Wikipedia by expanding it. |