"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/core.c/REPL.pm6" between
rakudo-2020.09.tar.gz and rakudo-2020.10.tar.gz

About: Rakudo is a compiler for the Raku Pogramming Language (formerly known as Perl 6).

REPL.pm6  (rakudo-2020.09):REPL.pm6  (rakudo-2020.10)
skipping to change at line 250 skipping to change at line 250
} }
elsif !$*DISTRO.is-win and !( %*ENV<_>:exists and %*ENV<_>.ends-with : 'rlwrap' ) { elsif !$*DISTRO.is-win and !( %*ENV<_>:exists and %*ENV<_>.ends-with : 'rlwrap' ) {
say 'You may want to `zef install Readline` or `zef install Line noise` or use rlwrap for a line editor'; say 'You may want to `zef install Readline` or `zef install Line noise` or use rlwrap for a line editor';
} }
say ''; say '';
$self but FallbackBehavior $self but FallbackBehavior
} }
method new(Mu \compiler, Mu \adverbs) { method new(Mu \compiler, Mu \adverbs) {
say compiler.version_string(:shorten-versions);
say '';
my $multi-line-enabled = !%*ENV<RAKUDO_DISABLE_MULTILINE>; my $multi-line-enabled = !%*ENV<RAKUDO_DISABLE_MULTILINE>;
my $self = self.bless(); my $self = self.bless();
$self.init(compiler, $multi-line-enabled); $self.init(compiler, $multi-line-enabled);
$self = mixin-line-editor($self); $self = mixin-line-editor($self);
$self $self
} }
method init(Mu \compiler, $multi-line-enabled --> Nil) { method init(Mu \compiler, $multi-line-enabled --> Nil) {
$!compiler := compiler; $!compiler := compiler;
$!multi-line-enabled = $multi-line-enabled; $!multi-line-enabled = $multi-line-enabled;
 End of changes. 1 change blocks. 
0 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)