Measures Concepts
GitHub icon

Frink

Frink - Programming language

< >

Frink is a programming language created in 2001.

#1184on PLDB 23Years Old

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.". Read more on Wikipedia...


Example from hello-world:
println["Hello World"]
// Hello World in Frink println["Hello World!"]

Language features

Feature Supported Token Example
Strings ✓ "
"Hello world"
Print() Debugging ✓ println
Line Comments ✓ //
// A comment
Units of Measure ✓
10 feet 12 feet 8 feet -> gallons
Comments ✓
Semantic Indentation X

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Day 605 · feedback@pldb.io · Logout