Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

raku REPL appears unresponsive on `cygwin` under WIndows 8

Tags:

printing

raku

I have cygwin under Windows 8 and I've installed and run raku which I understand to be just Perl6. I wanted to print some strings and numbers but say doesn't do the job (please see the black snippet below) it just do nothing unlike it is described here:

enter image description here

enter image description here

hynek0@hynek /cygdrive/c/Users/hynek0/Desktop/FU
$ raku --version
This is Rakudo version 2020.05.1 built on MoarVM version 2020.05
implementing Raku 6.d.

EDIT 2

enter image description here

EDIT 3 enter image description here

like image 614
user2925716 Avatar asked May 28 '21 19:05

user2925716


1 Answers

This is probably the same bug as reported with https://github.com/rakudo/rakudo/issues/4378 . It looks like Raku thinks there's nobody behind the keyboard ($*IN.t returning False) and thus switches to slurping the program to execute from STDIN.

At this point, I can only see a workaround: execute you example code with raku -e.

like image 138
Elizabeth Mattijsen Avatar answered Oct 19 '22 09:10

Elizabeth Mattijsen