add TCO to readme, add floats
This commit is contained in:
@@ -112,6 +112,9 @@ function forExample(end: int): int {
|
|||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Tail Call Optimized
|
||||||
|
Recursive tail calls are optimized at compile time.
|
||||||
|
|
||||||
## Statically typed
|
## Statically typed
|
||||||
KLang statically verifies the integrity of your code. These checks include:
|
KLang statically verifies the integrity of your code. These checks include:
|
||||||
- Type checking
|
- Type checking
|
||||||
@@ -123,6 +126,7 @@ KLang statically verifies the integrity of your code. These checks include:
|
|||||||
### Data Types
|
### Data Types
|
||||||
- Integer "int"
|
- Integer "int"
|
||||||
- Boolean "bool"
|
- Boolean "bool"
|
||||||
|
- Floats "float"
|
||||||
|
|
||||||
### Examples
|
### Examples
|
||||||
You can declare types for parameters, return values and variables
|
You can declare types for parameters, return values and variables
|
||||||
|
|||||||
Reference in New Issue
Block a user