bython icon indicating copy to clipboard operation
bython copied to clipboard

No support for oneliner???

Open MorganTL opened this issue 1 year ago • 1 comments

Can't do oneliner???? What's the point of using this 0/10

How to reproduce:

def print_message(num_of_times) { for i in range(num_of_times) {print("Bython is awesome!"); }} 
print_message(10);

Error message:

    def print_message(num_of_times):for i in range(num_of_times):print("Bython is awesome!");
                                    ^^^
SyntaxError: invalid syntax

Instead it should:

Bython is awesome!
Bython is awesome!
Bython is awesome!
Bython is awesome!
Bython is awesome!
Bython is awesome!
Bython is awesome!
Bython is awesome!
Bython is awesome!
Bython is awesome!

MorganTL avatar Dec 13 '24 09:12 MorganTL

Kinda self-advertising, but if you are still interested: https://github.com/solaluset/yabi

solaluset avatar Nov 16 '25 21:11 solaluset