Roadmap / 0.1.0
Standard language features Loops, conditionals, assignments and functions
1 2 3 4 5 6 7 8 9 10 11 12 13
func clamp(value: Float, min: Float, max: Float) -> Float { if value < min { return min } if value > max { return max } return value } func total(values: Float[]) -> Float { var sum = 0.0 for value in values { sum = sum + clamp(value, 0.0, 1.0) } return sum }
- Version
- 0.1.0
- Status
- Shipped
- Also in 0.1.0
- Standard library
The first release covers the core of the language: assignments, conditionals, loops and functions.
It is everything you need to write a first Emma program, and the base every later release builds on.
Included
- Loops
- Conditionals
- Assignments
- Functions