An open source programming language that combines the expressiveness of dynamic languages with a powerful static type system for native efficiency.
# Compute the average line length from stdin
lines = io.stdin.lines()
if lines.length > 0
average = lines.map($length).sum() / lines.length
else
average = 0
end
puts("Average line length: #{average}")
Note
The above example is not yet fully supported by the language
* Some features are yet to be implemented, please see the roadmap for development details.
Jam is licensed under MIT, giving everyone the freedom to do what they want to do with the language. Contributions on Github are always welcome.