Frink (programming language)
Appearance
From Wikipedia, the free encyclopedia
This article has multiple issues. Please help improve it or discuss these issues on the talk page . (Learn how and when to remove these messages)
(Learn how and when to remove this message)The topic of this article may not meet Wikipedia's general notability guideline . Please help to demonstrate the notability of the topic by citing reliable secondary sources that are independent of the topic and provide significant coverage of it beyond a mere trivial mention. If notability cannot be shown, the article is likely to be merged, redirected, or deleted.
Find sources: "Frink" programming language – news · newspapers · books · scholar · JSTOR (October 2018) (Learn how and when to remove this message)
Find sources: "Frink" programming language – news · newspapers · books · scholar · JSTOR (October 2018) (Learn how and when to remove this message)
This article relies excessively on references to primary sources . Please improve this article by adding secondary or tertiary sources.
Find sources: "Frink" programming language – news · newspapers · books · scholar · JSTOR (June 2017) (Learn how and when to remove this message)
Find sources: "Frink" programming language – news · newspapers · books · scholar · JSTOR (June 2017) (Learn how and when to remove this message)
| Frink | |
|---|---|
| Paradigm | Multi-paradigm: object-oriented, imperative, functional, |
| Designed by | Eliasen, Alan |
| First appeared | 2001 |
| Filename extensions | .frink |
| Website | frinklang |
| Major implementations | |
| Java virtual machine | |
| Influenced by | |
| Java | |
Frink is a computer programming language. It is, according to creator of the language, "designed to make physical calculations simple, to help ensure that answers come out right, and to make a tool that's really useful in the real world. It tracks units of measure (feet, meters, kilograms, watts, etc.) through all calculations, allowing you to mix units of measure transparently, and helps you easily verify that your answers make sense."[1]
Features
[edit ]- Units of measure for variables
- Interval arithmetic
- Anonymous functions
Name
[edit ]Frink was named after Professor Frink, recurring character in the animated television series The Simpsons .[1]
Example
[edit ]fibonacciN[n] :=
{
a = 0
b = 1
count = 0
while count < n
{
[a,b] = [b, a + b]
count = count + 1
}
return a
}
References
[edit ]- ^ a b Eliasen, Alan. "Frink (official website)" . Retrieved 2011年07月30日.