Skip to content

Instantly share code, notes, and snippets.

@timo
Created November 27, 2020 22:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timo/08705f1fe617cdbab3f8f83febd28c66 to your computer and use it in GitHub Desktop.
Save timo/08705f1fe617cdbab3f8f83febd28c66 to your computer and use it in GitHub Desktop.
> hll
${:id(9), :keys($["nqp", "Raku", "default"]), :type(MessageType::MT_HLLSymbolResponse)}
result: [nqp Raku default]
> hll Raku
${:id(11), :keys($["MD_Pos", "MD_PBF", "\@END_PHASERS", "PROCESS", "GLOBAL", "default_cont_spec", "P6EX", "\&THE_END", "ModuleLoader", "\$!ARGITER", "Capture", "Iterable", "Scalar"]), :type(MessageType::MT_HLLSymbolResponse)}
result: [MD_Pos MD_PBF @END_PHASERS PROCESS GLOBAL default_cont_spec P6EX &THE_END ModuleLoader $!ARGITER Capture Iterable Scalar]
> hll Raku P6EX
result: 1
> assoc 1
Associatives in handle 1
5 X::ControlFlow::Return Block concrete
19 X::Method::NotFound Block concrete
10 X::TypeCheck::Assignment Block concrete
12 X::TypeCheck::Binding Block concrete
7 X::NYI Block concrete
2 X::Role::Initialization Block concrete
11 X::Parameter::RW Block concrete
4 X::PhaserExceptions Block concrete
9 X::TypeCheck::Binding::Parameter Block concrete
18 X::NoDispatcher Block concrete
8 X::Multi::Ambiguous Block concrete
15 X::Inheritance::NotComposed Block concrete
6 X::Multi::NoMatch Block concrete
13 X::Parameter::InvalidConcreteness Block concrete
17 X::Trait::Invalid Block concrete
16 X::TypeCheck::Return Block concrete
14 X::Role::Parametric::NoSuchCandidate Block concrete
3 X::Assignment::RO Block concrete
> attrs 7
Attributes for handle 7
From class Block
0 VMNull $!phasers
0 VMNull $!why
From class Code
20 BOOTCode $!do concrete
21 Signature $!signature concrete
0 VMNull @!compstuff
> attributes 21
Attributes for handle 21
From class Signature
22 NQPArray @!params concrete
0 VMNull $!returns
int $!arity value: 1
23 Int $!count concrete
24 Block $!code concrete
> pos 22
Positionals in handle 22
0 25 Parameter concrete
> attributes 25
Attributes for handle 25
From class Parameter
str $!variable_name value: $feature
0 VMNull @!named_names
0 VMNull @!type_captures
int $!flags value: 1152
26 Mu $!nominal_type
0 VMNull @!post_constraints
0 VMNull $!coerce_type
str $!coerce_method value:
0 VMNull $!sub_signature
0 VMNull $!default_value
0 VMNull $!container_descriptor
0 VMNull $!attr_package
0 VMNull $!why
> invoke 20 1234
invoke 20 1234
(Any)
rakudo --debug-port=9999 --debug-suspend -e 'sub MAIN { sub example-sub(int $a) { say "you gave me argument $a wow!"; };
say "hi";
say "second say";
say "third say";
sleep 2;
say "after sleep say";
say "after sleep second say";
say "bye" }'
hi
second say
third say
array entry 0
marking thread 1 unblocked, but its status is already NONE.
array entry 0
invoke requested, but not yet fully implemented for tc 0x1f38160 ...whoa, here is the special unwind! message id is 140611457908864
1234 not yet implemented. Sorry.
in sub MAIN at -e line 8
in block <unit> at -e line 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment