Fjölnir
Paradigmprocedural, object-oriented
Designed bySnorri Agnarsson
First appeared1980s
Typing disciplinestrong, dynamic
Scopelexical
OSMS-DOS
Filename extensions.fjo, .fjv, .sma, .ein

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 fjo or sma.

Features

edit

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".

Code examples

edit
;; Hello world in Fjölnir

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


References

edit
  1. ^ Agnarsson, Snorri; Krishnamoorthy, M. S. (1985). "Towards a theory of packages". ACM SIGPLAN Notices. 20 (7): 117–130. doi:10.1145/17919.806833.


📚 Artikel Terkait di Wikipedia

List of programming languages by type

(Chinese) Fjölnir (Icelandic) Language Symbolique d'Enseignement (French) Rapira (Russian) ezhil (Tamil) Class-based object-oriented programming languages support

List of programming languages

to notable programming languages, in current or historical use. Dialects of BASIC (which have their own page), esoteric programming languages, and markup

Hello, world

Intermediate Language Cython Dart Darwin Data General Nova DOORS Extension Language Easy Programming Language Эль-76 Elixir Enyo எழில் F# FastAPI Fjölnir Flask

Fjölnir (disambiguation)

Fjölnir may refer to the following: Fjölnir, a Swedish king according to Norse mythology Fjölnir (programming language) Fjölnir (journal), a former Icelandic-language

Non-English-based programming languages

Non-English-based programming languages are programming languages that do not use keywords taken from or inspired by English vocabulary. The use of the

FJO

Flying Training School RAF unit .fjo, file extension used by Fjölnir (programming language) All pages with titles beginning with FJO All pages with titles

FJV

in the Jesuit Volunteer Corps fjv, a file format produced by Fjölnir (programming language) Francis J. Vassallo & Associates Ltd (FJVA), a corporate services

Brittany Mahomes

Retrieved April 21, 2023. "2. deild kvenna: Fjölnir í dauðafæri að komast upp" [Women's 2nd division: Fjolnir in a dead end to get promoted]. Fótbolti.net