Senegal icon indicating copy to clipboard operation
Senegal copied to clipboard

Add strong typesystem

Open Andy-Python-Programmer opened this issue 4 years ago • 0 comments

Add the strong type system that we were talking about when the language was not on github.

Types

1. u8
2. u32
3. u64
4. f32
5. f64
6. i8
7. i32
8. i64
9. String
10. void

Syntax

var wouw: String = "";
var testn: i32 = 100;

function testnf() -> i32 {
    return 100;
}

// Lets also try and make it so that no types is not acceptable. 

These are the ones that are currently in my mind. Might have forgotten to mention some other ones.

Andy-Python-Programmer avatar Dec 22 '20 01:12 Andy-Python-Programmer