Open dosentmatter opened 2 years ago
it is fixed in the new version!
pip install -U Cantonese
C:\Users\Administrator>cantonese
Cantonese 1.0 Copyright (C) 2020-2022 StepfenShawn
Tue Jan 25 19:58:56 2022
> 畀我睇下 "Hello World" 点样先?
Hello World
>收工
C:\Users\Administrator>
刚用 python src/cantonese.py
启动repl 测了,确认已修复。
@StepfenShawn, thanks for the quick fix. I can also confirm that it works better now.
But now it seems like there's another bug. After entering a command and then just hitting <ENTER>
a bunch of times, it increasingly prints more output.
% cantonese
Cantonese 1.0 Copyright (C) 2020-2022 StepfenShawn
Tue Jan 25 21:43:46 2022
> 畀我睇下 "Hello World" 点样先?
Hello World
>
Hello World
Hello World
>
Hello World
Hello World
Hello World
>
Hello World
Hello World
Hello World
Hello World
>
Hello World
Hello World
Hello World
Hello World
Hello World
>
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
>
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
CTRL+C
, 收工 doesn't work.