Frink (programming language)
{{Multiple issues|
{{notability|date=October 2018}}
{{Primary sources|date=June 2017}}
}}
{{Infobox programming language
| name = Frink
| logo alt =
| paradigm = Multi-paradigm: object-oriented, imperative, functional,
| designer = Eliasen, Alan
| developer =
| typing =
| implementations = Java virtual machine
| influenced =
| license =
| File extensions = .frink
| File format =
| website = {{URL|https://frinklang.org}}
| wikibooks =
| year = 2001
| latest_release_version =
| latest_release_date =
| latest_preview_version =
| latest_preview_date =
| 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."{{cite web |last=Eliasen |first=Alan |title=Frink (official website) |url=http://futureboy.us/frinkdocs/ |accessdate=2011-07-30}}
Features
- Units of measure for variables
- Interval arithmetic
- Anonymous functions
Name
Frink was named after Professor Frink, recurring character in the animated television series The Simpsons.
Example
fibonacciN[n] :=
{
a = 0
b = 1
count = 0
while count < n
{
[a,b] = [b, a + b]
count = count + 1
}
return a
}
References
{{Reflist}}
External links
- {{Official website|https://frinklang.org}}
- [https://rosettacode.org/wiki/Category:Frink Frink examples at Rosetta Code]
{{Programming languages}}
{{Authority control}}
Category:Cross-platform software
Category:Numerical programming languages
Category:JVM programming languages