Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Fjölnir (programming language)

From Wikipedia, the free encyclopedia
Programming language
icon
This articlerelies largely or entirely on asingle source. Relevant discussion may be found on thetalk page. Please helpimprove this article byintroducing citations to additional sources.
Find sources: "Fjölnir" programming language – news ·newspapers ·books ·scholar ·JSTOR
(April 2024)
Fjölnir
Paradigmprocedural,object-oriented
Designed bySnorri Agnarsson
First appeared1980s
Typing disciplinestrong, dynamic
Scopelexical
OSMS-DOS
Filename extensions.fjo, .fjv, .sma, .ein

Fjölnir (alsoFjolnir orFjoelnir) is aprogramming language developed byprofessor Snorri Agnarsson ofcomputer science atHáskóli Íslands (University of Iceland) that was mostly used in the 1980s. Thesource files usually have theextensionfjo orsma.

Features

[edit]

Fjölnir is based on the concept of representing programs as trees, and packages by substitutions on trees usingalgebraic operators.[1] For example, in theHello 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 thestandard output) is imported from"GRUNNUR".

Code examples

[edit]
;; Hello world in Fjölnir"hello" < main{    main ->    stef(;)    stofn        skrifastreng(;"Hello, world!"),    stofnlok}*"GRUNNUR";

External links

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


Stub icon

Thisprogramming-language-related article is astub. You can help Wikipedia byadding missing information.

Retrieved from "https://en.wikipedia.org/w/index.php?title=Fjölnir_(programming_language)&oldid=1307970984"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp