rickroll-lang
rickroll-lang copied to clipboard
Proposition for key words
class Rick : Singer{
// constructor
gonna_make_you()
i.hariColor=red
understand
// private variables
Inside var hairColor;
// public variable
Stranger var concertLocation {
// getter
get_this_from {
return I.concertLocation
}
}
// member functions
gonna sing(){
tell_you_how_im_feeling ("we're no strangers to love")
}
gonna giveYouUp(){
fatalError()
}
gonna letYouDown(){
fatalError()
}
}
Thank you for your advice! However, we decide only to change the function keyword, but not to change the fundamental syntax.
I have some ideas! desert you can be used to raise exceptions. a full commitment's what I'm thinking of could be used for aync programming (I don't know how, lol). I'm still thinking what run around use-case would be...
a keyword for async would be nice (so i can make a discord bot lol)
This is a very late reply, I know hahaha. I will try to add the async keyword and finish it by today. I'm sorry that I did not fulfill your valuable requests.