From 5701d3e9185195fe3282f1a1787f35191751f82c Mon Sep 17 00:00:00 2001 From: nitrix Date: Mon, 9 Mar 2020 16:13:44 +0100 Subject: [PATCH] add TCO to readme, add floats --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 0174bb5..4664533 100644 --- a/README.md +++ b/README.md @@ -112,6 +112,9 @@ function forExample(end: int): int { ``` +## Tail Call Optimized +Recursive tail calls are optimized at compile time. + ## Statically typed KLang statically verifies the integrity of your code. These checks include: - Type checking @@ -123,6 +126,7 @@ KLang statically verifies the integrity of your code. These checks include: ### Data Types - Integer "int" - Boolean "bool" +- Floats "float" ### Examples You can declare types for parameters, return values and variables