Skip to content

Instantly share code, notes, and snippets.

@MasterDuke17
Last active January 18, 2022 14:38
Show Gist options
  • Save MasterDuke17/a8f3e2cefd375205a766b2f6f7e8d3d3 to your computer and use it in GitHub Desktop.
Save MasterDuke17/a8f3e2cefd375205a766b2f6f7e8d3d3 to your computer and use it in GitHub Desktop.
49 │ - QAST::Stmts sub a() { my % }; my $b = a(); dd $b | 49 │ - QAST::Stmts sub a() { my % = () }; my $b = a(); dd $b
50 │ - QAST::Op(call) | 50 │ - QAST::Op(call)
51 │ - QAST::Block(:name(<unit>) :cuid(2) :blocktype(declaration_static)) :outer<?> :in_stmt_mod<?> :code_objec| 51 │ - QAST::Block(:name(<unit>) :cuid(2) :blocktype(declaration_static)) :outer<?> :in_stmt_mod<?> :code_obje
52 │ │ - QAST::Stmts sub a() { my % }; my $b = a(); dd $b | 52 │ │ - QAST::Stmts sub a() { my % = () }; my $b = a(); dd $b
53 │ │ - QAST::Var(lexical $b :decl(contvar)) | 53 │ │ - QAST::Var(lexical $b :decl(contvar))
54 │ │ - QAST::Var(lexical $¢ :decl(contvar)) | 54 │ │ - QAST::Var(lexical $¢ :decl(contvar))
55 │ │ - QAST::Var(lexical $! :decl(contvar)) | 55 │ │ - QAST::Var(lexical $! :decl(contvar))
56 │ │ - QAST::Var(lexical $/ :decl(contvar)) | 56 │ │ - QAST::Var(lexical $/ :decl(contvar))
57 │ │ - QAST::Var(lexical $_ :decl(contvar)) | 57 │ │ - QAST::Var(lexical $_ :decl(contvar))
58 │ │ - QAST::Var(lexical GLOBALish :decl(static)) | 58 │ │ - QAST::Var(lexical GLOBALish :decl(static))
59 │ │ - QAST::Var(lexical EXPORT :decl(static)) | 59 │ │ - QAST::Var(lexical EXPORT :decl(static))
60 │ │ - QAST::Var(lexical $?PACKAGE :decl(static)) | 60 │ │ - QAST::Var(lexical $?PACKAGE :decl(static))
61 │ │ - QAST::Var(lexical ::?PACKAGE :decl(static)) | 61 │ │ - QAST::Var(lexical ::?PACKAGE :decl(static))
62 │ │ - QAST::Var(lexical $=finish :decl(static)) | 62 │ │ - QAST::Var(lexical $=finish :decl(static))
63 │ │ - QAST::Stmt | 63 │ │ - QAST::Stmt
64 │ │ - QAST::Block(:name(a) :cuid(1) :blocktype(declaration_static)) <wanted> :statement_id<1> :signatured| 64 │ │ - QAST::Block(:name(a) :cuid(1) :blocktype(declaration_static)) <wanted> :statement_id<1> :signature
65 │ │ │ - QAST::Stmts | 65 │ │ │ - QAST::Stmts
66 │ │ │ - QAST::Var(lexical %ANON_VAR__1 :decl(contvar)) | 66 │ │ │ - QAST::Var(lexical %ANON_VAR__1 :decl(contvar))
67 │ │ │ [value] | 67 │ │ │ [value]
68 │ │ │ - Hash|5241675401696 | 68 │ │ │ - Hash|6136763915152
69 │ │ │ - QAST::Var(lexical $¢ :decl(contvar)) | 69 │ │ │ - QAST::Var(lexical $¢ :decl(contvar))
70 │ │ │ - QAST::Var(lexical $! :decl(contvar)) | 70 │ │ │ - QAST::Var(lexical $! :decl(contvar))
71 │ │ │ - QAST::Var(lexical $/ :decl(contvar)) | 71 │ │ │ - QAST::Var(lexical $/ :decl(contvar))
72 │ │ │ - QAST::Var(lexical $_ :decl(contvar)) | 72 │ │ │ - QAST::Var(lexical $_ :decl(contvar))
73 │ │ │ - QAST::Op(p6typecheckrv) | 73 │ │ │ - QAST::Op(p6typecheckrv)
74 │ │ │ - QAST::Op(p6decontrv) | 74 │ │ │ - QAST::Op(p6decontrv)
75 │ │ │ - QAST::WVal(Sub) | 75 │ │ │ - QAST::WVal(Sub)
76 │ │ │ - QAST::Stmts <wanted> my % | 76 │ │ │ - QAST::Stmts <wanted> my % = ()
77 │ │ │ - QAST::Stmt <wanted final> my % | 77 │ │ │ - QAST::Stmt <wanted final> my % = ()
78 │ │ │ - QAST::Var(lexical %ANON_VAR__1) <wanted sinkok> :statement_id<2> % | 78 │ │ │ - QAST::Op(callmethod STORE) <nosink> :statement_id<2>
-------------------------------------------------------------------------------------------------------------------| 79 │ │ │ - QAST::Var(lexical %ANON_VAR__1) <wanted sinkok> %
-------------------------------------------------------------------------------------------------------------------| 80 │ │ │ - QAST::Stmts <wanted> ()
-------------------------------------------------------------------------------------------------------------------| 81 │ │ │ - QAST::Op(call &infix:<,>) ()
-------------------------------------------------------------------------------------------------------------------| 82 │ │ │ - QAST::WVal+{QAST::SpecialArg}(Bool :named<INITIALIZE>) <wanted>
79 │ │ │ - QAST::WVal(Sub) | 83 │ │ │ - QAST::WVal(Sub)
80 │ │ │ - QAST::WVal(Nil) | 84 │ │ │ - QAST::WVal(Nil)
81 │ │ - QAST::Var(lexical &a :decl(static)) | 85 │ │ - QAST::Var(lexical &a :decl(static))
82 │ │ [value] | 86 │ │ [value]
bare.ast 49,1 54% parens.ast 49,1 54%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment