20 lines
360 B
Raku
Executable file
20 lines
360 B
Raku
Executable file
#!/usr/bin/env raku
|
|
use v6.d;
|
|
use IUtils;
|
|
|
|
my $ide = IUtils::IDEMode.new();
|
|
# my @res = $ide.browse-namespace: 'Data.List';
|
|
# say @res;
|
|
|
|
my @res = $ide.version;
|
|
say @res[0][1][1][1][0];
|
|
|
|
@res = $ide.load-file: '.tmp/test.idr';
|
|
say @res.raku;
|
|
|
|
@res = $ide.interpret: ':exec works >>= print';
|
|
say @res.raku;
|
|
|
|
@res = $ide.interpret: ':exec fails';
|
|
say @res.raku;
|