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

RFC guide #2

Open
chop0 opened this issue Dec 16, 2020 · 2 comments
Open

RFC guide #2

chop0 opened this issue Dec 16, 2020 · 2 comments

Comments

@chop0
Copy link
Collaborator

chop0 commented Dec 16, 2020

RFCs (request-for-comment)s should be posted here; these are proposals to the language, which may include:

New syntax
Standard library features
Bug fixes
Language features
Once accepted, they will be marked as so, and further discussion of the feature will continue.

@chop0 chop0 pinned this issue Dec 16, 2020
@ky28059
Copy link
Member

ky28059 commented Dec 16, 2020

Epic syntax idea:
>> means return

Example (using kotlin syntax but with the return idea)

fun addThree(x: Int): Int {
    >> x + 3
}

@SheepTester
Copy link
Member

SheepTester commented Dec 16, 2020

Epic syntax idea:

Typos like publc and pubic are aliases for public:

begin pubic main(_args: Args): i8
    3
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants