A rick roll oriented, dynamic, strong, interpreting esoteric programming language.
I usually execute my source code like this:
python3 rick.py -s [Source Code File Name]
If you want to know the execution time:
python3 rick.py -s [Source Code File Name] -time
The interpreter can generate a .mp3 file from your source code (This feature is not completed yet)
python3 rick.py -s [Source Code File Name] -mp3
Also the interpreter provides you to "sing" code (This feature is not completed yet)
python3 rick.py -sing [MP3 File Name] [Source Code(Text) File Name]
take_me_to_ur_heart # This is the MAIN METHOD
give_u_up msg = "Never gonna give you up, never gonna let you down~" # Define a variable
i_just_wanna_tell_u_how_im_feeling msg # print the "msg" variable
say_good_bye # End the main method
And you can get the output on your terminal:
Never gonna give you up, never gonna let you down~
give_u_up a = 10~
give_u_up b = "bbc is fn"
take_me_to_ur_heart~ # You can add "~" at the end of the statement (it is totally optional)
give_u_up a = 10
and_if_u_ask_me_how_im_feeling a is 10
i_just_wanna_tell_u_how_im_feeling "A is 10!"
say_good_bye
say_good_bye~
Equivalent to Python:
if __name__ == '__main__':
a = 10
if a == 10:
print("A is 10!")
And you will get this on your terminal
"A is 10!"
take_me_to_ur_heart
together_forever_we_two # Endless loop
say_good_bye
say_good_bye
相当于以下Python代码
if __name__ == "__main__":
while True:
pass
never_knew func arg1, arg2 could_feel_this_way # Define a function
when_i_give_my arg1, arg2 it_will_be_completely # Return arg1 and arg2
say_good_bye
Equivalent to Python:
def func(arg1, arg2):
return arg1, arg2