Changeset 19153
- Timestamp:
- 12/10/07 20:04:18 (10 months ago)
- Location:
- v6/v6-KindaPerl6
- Files:
-
- 3 modified
-
compiled/perl5-kp6-mp6/lib/KindaPerl6/Visitor/Emit/Perl6.pm (modified) (1 diff)
-
docs/FAQ.pod (modified) (1 diff)
-
src/KindaPerl6/Visitor/Emit/Perl6.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
v6/v6-KindaPerl6/compiled/perl5-kp6-mp6/lib/KindaPerl6/Visitor/Emit/Perl6.pm
r19148 r19153 319 319 my $List__ = \@_; 320 320 do { [] }; 321 return ( ( '(' . ( $self->{code}->emit_perl6() . ( ' (' . ( Main::join( [ map { $_->emit_perl6() } @{ $self->{arguments} } ], ', ' ) . '))' ) ) ) ) );321 return ( ( '(' . ( $self->{code}->emit_perl6() . ( '(' . ( Main::join( [ map { $_->emit_perl6() } @{ $self->{arguments} } ], ', ' ) . '))' ) ) ) ) ); 322 322 } 323 323 -
v6/v6-KindaPerl6/docs/FAQ.pod
r19115 r19153 121 121 122 122 [kp6] I have refactored subroutine XXX for clarity and updated the documentation. 123 124 =head3 Seeing an intermediate step. 125 126 Sometimes you want to see how kp6 "saw" the code. This is seen by running the 127 code though AST backend. 128 129 perl script/kp6 -Cast -e ' "a" eq "b" ' 123 130 124 131 =head3 Cannot see the forest for the trees. / Boot strapping -
v6/v6-KindaPerl6/src/KindaPerl6/Visitor/Emit/Perl6.pm
r19148 r19153 251 251 class Apply { 252 252 method emit_perl6 { 253 return '(' ~ $.code.emit_perl6 ~ ' (' ~ (@.arguments.>>emit_perl6).join(', ') ~ '))'; 253 # WARNING: Putting white spaces in here, will mess up the subroutine calls 254 return '(' ~ $.code.emit_perl6 ~ '(' ~ (@.arguments.>>emit_perl6).join(', ') ~ '))'; 254 255 } 255 256 }
