Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add strong typesystem #13

Open
Andy-Python-Programmer opened this issue Dec 22, 2020 · 0 comments
Open

Add strong typesystem #13

Andy-Python-Programmer opened this issue Dec 22, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request Proposal

Comments

@Andy-Python-Programmer
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Proposal
Projects
None yet
Development

No branches or pull requests

2 participants